LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array to Scalar

Hello.
 
A quick question if I may.
 
When coverting a array to a scalar, how can I read the scalar output of each element in a delayed sequence.
 
Eg an array 0,1,2,3,4,5,6, to give scalar outputs 0 (wait 5 seconds), 1 (wait 5) seconds etc.
 
This would proabaly be simple, if I was competent in Labview. It has been annoying me for too long!
 
Thanks in advance.
 
 
0 Kudos
Message 1 of 4
(2,940 Views)
Just wire your array into a For loop with a "Wait" function in the loop set to 5000(ms). The For loop will automatically index out each array element one at a time so they can be displayed.

You might want to run through some of the LabVIEW tutorials. Look in the Help menu for Getting Started or try this web site.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 4
(2,936 Views)
Here are two possibilities, depending on if you want to create the entire array first or read one element at a time.
0 Kudos
Message 3 of 4
(2,933 Views)
Thanks foe the help, & the website!
 
 
0 Kudos
Message 4 of 4
(2,920 Views)