Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you set daq so that on a trigger it outputs a waveform, and while outputting is armed once again for another trigger? Like an autotrigger.

Can you set  daq so that on a trigger it outputs a waveform, and while outputting is armed once again for another trigger?  Like an autotrigger.

 

I am trying to use a 5V 400hz input signal, to generate a signal that is 400hz and in synch with the input signal.  I have converted the 5V sine wave input into a digital signal so that i can trigger off of it.  I configured an AO to generate a 400hz wave on the trigger.  I can't just continuously generate this signal because it quickly gets out of synch.  So, i want to trigger every time i see a pulse and output my wave without stopping the current wave it's outputting. 

Any ideas?

 

THanks!

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

Hi alithom123,

 

What board are you using?

Is it OK to have a fixed delay between the input and output signal?  If so this example can do what you need:

Use AO to Output Delayed Version of AI in DAQmx

 

You could make the fixed delay equal to an integer number of periods of your input signal so the edges would still line up.  I'm not sure if I understand the autotrigger idea, but regardless of what hardware you are on you won't be able to trigger a finite generation until the previous generation has completed.

 

If you just want to generate the same signal that is coming in on the AI line, why not simply bypass the DAQ card altogether and wire your AI to wherever you need it to go?

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 2
(2,647 Views)