Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

triggerdelay

Hi,

 

So I have a USB 6353  X series DAQ which I am using to control an experiment via Matlab.  We use the analog output (AO) to control motors, and the analog inputs (AI) to collect data.  We want to start collecting data shortly before we start sending pulses through the AO to begin moving the motors in the experiment.  I see a number of triggers/clocks mentioned in the DAQ specs, but I am not sure how to utilize these through Matlab so that I could design a trigger which started the AO a precise time period after the AI started. From what I can find about Matlab, I seem only able to build triggers that respond to signals, except maybe for the 'TriggerDelay' function.

 

Any help?

 

Thanks!

 

Best,

 

Nathan 

0 Kudos
Message 1 of 2
(2,829 Views)

Hello Nathan,

 

You can use the triggerdelay function to read presample data before your output starts. The way this is accomplished is by using a software start trigger to start both the tasks and setting pretrigger values in the trigger delay function.

 

Eric

 

Eric Liauw
Senior AE Specialist - Automated Test | CLD | CTA
National Instruments
0 Kudos
Message 2 of 2
(2,813 Views)