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: 

Event Capture

In my application I am monitoring a series of sensors that are binary on or off. I need to somehow capture the event where one sensor goes from on to off. Any advice on how this can be done? I'm running LabVIEW 7.1 and windows 2000

Thanks,

J
0 Kudos
Message 1 of 4
(3,303 Views)
hi,
You must be using some D I/O card to monitor these sensors,so all you have to do is use the read D I/O vi and get the status of the sensor and use a simple case loop for any action to be taken when the sensors go High or Low.
Hope this helps
cheers
vicky
0 Kudos
Message 2 of 4
(3,294 Views)
Just do a AND operation between the previous value of the sensor ant NOT the new value. See the attached example.
CC
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 4
(3,293 Views)
Check out my recent answer to a similar question.
0 Kudos
Message 4 of 4
(3,288 Views)