LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alarm if event does not occur

I need to measure 4 chanels. If chanel 0 gets a voltage spike, I need to set an alarm if chanel 1 does not read a spike within so many seconds. Same for chanels 2 & 3. This seems easy but I am having a hard time.
0 Kudos
Message 1 of 4
(2,782 Views)
David,

Just a thought, but have you considered using Waveform Peak Detection.vi. This would allow you to find the locations of the peaks in your signals. You could then compare the locations to determine if the generation of an alarm is required.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 4
(2,782 Views)
Ok, I didnt explain myself well. I am monitoring the voltage input to a UUT and the response from the unit. Voltage is ch.0 response will be ch.1 I must make sure response occurs within 5 sec. This will be tied into a streaming vi, I already have the alarms triger when the voltages reach their set point. I just cant seem to figure out how to make a 5 sec timer...thanks
0 Kudos
Message 3 of 4
(2,782 Views)
Have a look at the "General Notifier Example.vi" that ships with LabVIEW.

(Other possible tools are timeouts in event structures or in "wait on occurence". You can also simply make a parallel loop that monitors the various states if the timing is not super critical.)
0 Kudos
Message 4 of 4
(2,782 Views)