Not sure if I'm having a logjam in my head or what, but I can't figure this out... Labview newbie too.
I have a DIO card from Labjack. It samples an analog input. Everytime a digital input (a button) goes high, I want to write the current value to Excel and carriage return. I've tried For loops, case structures, etc. Problem seems to be that if the button is on, it continues to write data into my spreadsheet. I just want one value written each time the button goes on... I only want it to write on, say, the falling edge of the signal. In a PLC I would set a bit on one scan, on the next scan this bit would enable the write command and also reset the bit. Labview is confusing my ladder logic and C programming background. Any ideas? I attached what I've been working on...
Thanks...