Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Triggers

I would like start an AI when the channel exceeds a set tolerance either positive or negative. To implement this I collect data (1000 samples) and calculate the mean and sigma. I would like to set the PCI-MIO-16E-4 board to begin collecting data when the channel is outside the 3*sigma range.

Once acquisition begins, after each AI read the data will be evaluated for stability. When the value stops changing within set limits the AI will stop.

How do I get the board to start aquiring when when the either the +(3*sigma) or -(3*sigma) is exceeded.
Thankyou
Brian Wells
Space Reseach Institute
Auburn University, AL
0 Kudos
Message 1 of 2
(2,279 Views)
Brian,

Yes it's possible! If you are using LabView, all you have to do is call the AI Trigger Config VI and set it with range settings (Where the trigger is generated when the signal value is not between the low value and the high value).

The AI Trigger Config parameters should:
trigger type = analog trigger
mode = on
trigger or pause condition = trigger upon leaving window
level = low value in volts
additional trigger specification (window size) = high value -level

If you are using NI-DAQ function calls, the parameter would be:
mode = ND_INSIDE_REGION

Good luck with your application!
0 Kudos
Message 2 of 2
(2,279 Views)