04-17-2012 11:21 AM
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
Solved! Go to Solution.
04-18-2012
04:56 PM
- last edited on
02-10-2025
05:45 PM
by
Content Cleaner
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
04-20-2012 05:02 PM
Thank you very much !!