LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waiting for n signals

The dice get replaced by a random external signal.  Is this how you would wait for a given number of them?
0 Kudos
Message 1 of 3
(2,453 Views)

I wired up a small example that takes a small 5 element single dimension array and replaces those elements with dbls that lie between 0.2 and 0.4. If you know the size that the array will be it is best to initialize it first and then replace the elements as it is easier on the memory (no copies). If you don't know the size you could use the build array function or the insert into array but this is supposed to be hard on memory. Most folks on this forum will suggest that you use wires instead of locals. I didn't know what version of LV you are using so this is in 8.0 (i think).

Note: this is just an example to give you ideas on one way to do this. Hope it helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 3
(2,441 Views)
Dear Gov,
I am just counting events so I don't need the arrays, but I like the way you count the events. Thanks
0 Kudos
Message 3 of 3
(2,436 Views)