Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Trigger: Error 2200077

Solved!
Go to solution

Hello,

 

I'm trying to create a program to trigger on a hammer signal, using an USB-6211 card and 4 Analogic Inputs (using 1 DAQmx Create Channel AI Voltage for the hammer and 3 other to the accelerometer output). Having as base some LabView examples like "Cont Acq&Graph Voltage" and "Impact Test(DAQmx) [SVXMPL_Impact Test(DAQmx).vi]", I constructed my program, but it is not working.

If I don't put the trigger and the Start Task, my program run without any problem (in this case I'm using 4 DAQmx Create Channel AI Voltage, one DAQ Timing, that is linked to the DAQmx Read which is on the loop). But when I add the trigger (Start Analog Edge) out of the Loop and between the DAQmx Timing and the DAQmx Read, the error -200077 apears. This same error apears too when I try to run the example "Cont Acq&Graph Voltage" (even if I change the sample rate and the number of samples, the error is still the same). The error -200431 apears when I try to run the second example ("Impact Test(DAQmx) [SVXMPL_Impact Test(DAQmx).vi]), but in this case probably the DAQ card is not adapted to run this program.

 

When I add an start task before the Loop (where DAQmx Read function is localized) on my program without the trigger, the error -200278 appears. And if I add the trigger and the Start Task function, just the -200077 error apperas. However, the Start Task isn't bothering me as much as the trigger, because when I don't use the Trigger on the example "Cont Acq&Graph Voltage", and the Start task is still there, this program runs normally. So probably in this case the problem is on my prgram and not on my DAQ card.

 

I just would like to know if my card can't run this trigger (Start Analog Edge) function or if there is something else, because it's strange how a relatively simple example can't be run using my DAQ card.

 

Thank you

0 Kudos
Message 1 of 3
(3,169 Views)
Solution
Accepted by FCB

Hi FCB,

 

The USB 6211 can only be triggered digitally.

 

The document attached allows you to see the specifications of your card:

https://www.ni.com/en-us/support/model.usb-6211.html

 

 

Sunaina K.
Product Marketing Manager for CompactRIO & TSN

Making the intangible, tangible
0 Kudos
Message 2 of 3
(3,151 Views)

Thank you very much !!

0 Kudos
Message 3 of 3
(3,141 Views)