|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
![]() |
|
#2
|
||||||
|
||||||
|
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.
|
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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? |
|
#5
|
||||
|
||||
|
Re: case statement starting state
If all you have in your True case is a True out,
you do not need the case structure. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |