Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger the input at start of output on a single NI PCI 4461 card

I'm using DAQmx to send a output from the NI PCI 4461 card on channel A0O, using measurement studio under Microsoft’s visual "C". I receive the signal back on the same NI PCI 4461 card channel A0I so that I can determine the phase difference. How do I trigger the input from the start of the output?

 

Thomas J. Schapp

 

0 Kudos
Message 1 of 3
(3,008 Views)
Hi Thomas,

I'll describe and show you a great article about how to do this. Also, there are some great examples of synchronization that ship with DAQmx located in C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\

Basically you'll have two tasks: analog input and output. You'll set up a trigger in your AI task who's source will be ai/StartTrigger. Then, you'll just make sure that you start the AI task before the AO task. So the AI task will be armed and waiting for the ao start. You can ensure this by using a sequence structure around the start vis or using the error lines to ensure that one will start before the other. Look at the link before for some great information.

Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications: DAQmx Tr...
PBear
NI RF
0 Kudos
Message 2 of 3
(2,990 Views)

Thank you

      Thomas J. Schapp

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