felso
2007-05-23 17:40:11 UTC
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.
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.