LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Software trig

The Labview example "Hardware Input and Output\DAQ\Analog
Input\General\Acquire N - Multi-Analog Software Trig.vi" retrieves data from
6 channels (in my aplication) each time an analog trigger occurs. The
problem is that i have to choose just one trigger channel. Is there any way
to modify this example or is there anothet example where i can use all
channels as trigger, if possible with different thresholds for each channel,
in a logical OR function? i.e. if one of the channels exceed its threshold I
want data to be retrieved from all channels.
0 Kudos
Message 1 of 3
(2,711 Views)
btv-

if your timing isn't absolutely critical i guess the sloppy way would be to poll all the channels as fast as possible. then you compare the values to the thresholds you have set and then decide whether to keep the data or not. be sure to avoid taking multiple data points for the same trigger by keeping track of some flag you can XOR or something. 🙂

if that's not good enough, reply and i will take a little more time to think about this.

micah
0 Kudos
Message 2 of 3
(2,711 Views)
Wouldn't it be possible to use a buffered acquisition from all channels and use a separate loop outside of the critically timed portion to poll the data, excise the below threshold data, and report back?


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 3 of 3
(2,711 Views)