LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger when outside of certain range

I am trying to set up a trigger so that when the data acquired falls outside a given range data will start being recorded. I've been searching on labview and i can't find a way to set up a trigger for when voltage falls either above or below a certain value. all the triggers work when data falls within a certain range. if anyone can help me that'd be great. i'm working with labview 8.0 and daqmx with a usb 6008 data acquisition.

thanks
0 Kudos
Message 1 of 4
(2,697 Views)
One method would be to do continuous data acquisition and make the determination of whether to save or not outside of the actual DAQ software. Capture continuously, save to a "functional global" (discussed at length in other threads), monitor the captured data in another loop with a check of whether the data is outside a range, if yes save to file.



Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 4
(2,689 Views)
If the example you have triggers on when data falls within a certain range, just do the inverse. If it doesn't fall in that range, then it must, by definition meet your criteria. It seems to me that all you need is to wrap it up in a case structure. Are you looking at one of the examples that ships with LabVIEW?
0 Kudos
Message 3 of 4
(2,684 Views)

Hello,

The NI-6008 is not capable of any hardware analog triggering.  The only way to get an analog window trigger with this board is to do software triggering.  I would follow Putnam’s advice.  Just setup a VI that will continuously acquire data and the value of the data would determine if you will save it.  In essence you are setting up a analog window trigger through software.

Respectfully,

Rob F
Test Engineer
Condition Measurements
National Instruments
0 Kudos
Message 4 of 4
(2,657 Views)