Go to Post Meh, that's nothing a freshman with a drill press and a dremel can't fix... - Chad987 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2010, 16:31
wolfin1a5c's Avatar
wolfin1a5c wolfin1a5c is offline
Registered User
FRC #2925
 
Join Date: Jan 2010
Location: wenatchi
Posts: 4
wolfin1a5c is an unknown quantity at this point
case statement starting state

hi quick question in labview the case statement starting state is set to what? true or false. any quick help would be awesome
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 16:34
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: case statement starting state

LabVIEW is a data flow language. So, to find the answer, follow the data. Look at what you have connected to the selector terminal. Whatever that starts at, the case statement will start at. Nothing will execute inside the case statement until all the data from outside the case statement is ready.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2010, 16:39
wolfin1a5c's Avatar
wolfin1a5c wolfin1a5c is offline
Registered User
FRC #2925
 
Join Date: Jan 2010
Location: wenatchi
Posts: 4
wolfin1a5c is an unknown quantity at this point
Re: case statement starting state

i know it is determined by that... well maybe this will help
i have a switch that once it is on then it stays on until the robot turns off so here is a picture
Attached Thumbnails
Click image for larger version

Name:	Capture.GIF
Views:	24
Size:	3.1 KB
ID:	8719  
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2010, 17:44
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: case statement starting state

The real question is ...
What comes out of the Feed back node the first time?

With nothing wired into the init node (the small box on the bottom with the green dot) it will default to the default value for Boolean which is False.

So if your Floating point IS equal to zero (False) the False case will run.
If you Floasting point IS Not equal to zero (True) then the True case will run.

Then depending what is in your True (mainly what is feed out of the True case) if it is a True then that would latch the boolean to trun even if your Floating becane NOT Not Equal to zero.

What is it that you are trying to do?
__________________
Omar
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2010, 17:50
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: case statement starting state

If all you have in your True case is a True out,
you do not need the case structure.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	17
Size:	2.1 KB
ID:	8721  
__________________
Omar
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
state ranks after state champs johnr District Events 1 24-03-2009 17:44
Hawaii Gov. Lingle State of State speech-FIRST and STEM MoeMom FIRST In the News... 0 29-01-2008 17:04
Pull data out of Case Statement b_mallerd LabView and Data Acquisition 2 09-02-2007 20:37
Mission Statement Madison FIRST-related Organizations 11 19-05-2003 14:54
Starting a team in Muncie, IN for Ball State University and the Indiana Academy Amanda Morrison General Forum 6 23-12-2002 03:10


All times are GMT -5. The time now is 21:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi