12-10-2009 03:01 PM
I'm reading a voltage input. I would like to grab the voltage when a physical switch is made. Is there an example?
Thanks,
Ed
12-10-2009 11:23 PM
Try searching the shipping examples for the term "Triggering"
12-11-2009 04:01 PM
Well, close but not quite there yet.
The trigger and gate vi is pretty close. However, since I'm using a mechanical switch input to the manual input of the vi I get a stream off data from the switch close to open. I tried modifying the rising and falling settings and all the other setting but to no success.
12-11-2009 04:05 PM
What DAQ card do you have? Some support digital input state change detection. You can set this up in software and poll the input line, and use a Value(Signaling) to trigger an event case to then poll the analog input for it's value. Is the analog signal changing fast? If so there may be some lag between the poll event and the input read.
-AK2DM