LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

If/Than function imbeded within While Loop with multiple outputs? (students need help)

We are a Senior Design Group who is having much troubles with LV as none of us are programers and especially unfamiliar with all that LV has to offer. 
 
Here is what we are thinking that the program we need needs to look like but have no real clue as to how to implement it in LV.
 
WHILE Time Elapsed < 10 seconds
  {  IF Voltage = 1 V
     THAN Output Sound File 1 and Write "1" to Excel File in "A1" and Reset Time Elapsed
.
.
     IF Voltage = 1 V again
     THAN Output Sound File 2 and Write "2" to Excel File in "A2" and Reset Time Elapsed
.
.
.
.
     IF Voltage = 1 V again (for the 50th time)
     THAN Output Sound File 50 and Write "50" to Excel File in "A50" and Reset Time Elapsed
  }
 
Once 10 seconds elapses we need to break out and start the above program again (once 1 V is reconized again), except Write to Excel File in "B1....B50"
 
Thank you for any help
 
Struggling Students

Message Edited by FIT Engineering on 03-21-2007 07:16 AM

0 Kudos
Message 1 of 3
(2,820 Views)
see here
0 Kudos
Message 2 of 3
(2,803 Views)

You should definitely post in one single thread. Otherwise, it will be harder for us to know what has already been suggested.

Regards,

Rudi N.

0 Kudos
Message 3 of 3
(2,775 Views)