ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

analyzing digital input boolean array

I am fairly new to Labview, and I have a question on receving inputs (maybe trivial).
I am trying to receive an input from a momentary pushbutton switch (SPST). I am running it through an NI 9401 as a digital input. I set up the DAQ assistant and I am receiving an input signal once every second. I would like to store each input (which is a boolean) in an array. I've initialized an array, and I am able to place the input into the array, but my problem is that every time a new signal is recieved, the array is reset, so that the signal I want to store appears but is not stored. Thanks to anyone who can help me.
0 Kudos
Message 1 of 2
(2,628 Views)