LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture store and retieve array

I am connected to an insturment which whenever I send a trigger I output an array to my labview code. I can currently see the array that is sent to labview. I would like to be able to use a boolean switch to capture and store an output array whenever the boolean switch value is true. I would then use this stored array to do calculations. If the boolean value is false it does not matter what happens to the array.
0 Kudos
Message 1 of 2
(2,422 Views)
A very simple way is to put your file write (i.e. Write to Spreadsheet function) inside a case statement. Wire a Boolean to it. I show that in the picture attached. It can also be done as an event or in a state machine. There's a bunch of shipping examples that show the basics of case statements and file i/o.
0 Kudos
Message 2 of 2
(2,422 Views)