Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger a single waveform generation DAQMX

I'm trying to trigger a single waveform generation using daqmx. There is no problem if I want to trigger a continuous generation in a while loop using one of the daqmx examples. But for a single one I'm in trouble. I'm using a 6110 card.
I've attached my vi (basically I've a little modified one labview example vi). Someone could suggest me how to solve the problem?
Thanks for the help
-Claudio
0 Kudos
Message 1 of 3
(2,906 Views)
It seems I've fixed the vi, and now I can generate a single waveform triggered on a pulse rise (in the former vi, there was an error, now fixed on the new version).
My question now: I generate the waveform based on the 100 KHz internal waveform. When now a triggering pulse is received on PFI0 (and by the way this pulse is coming from a counter based on the 100 KHz internal waveform too), the first point of the waveform on the analog output is coincident with the first point of the 100 KHz waveform after the triggering pulse? This is important for my application because I want to synchronize waveform generation with other application, and I need to know when the waveform is actually generated. If I was not clear enough here is a descriptive scheme:

_#_#_#_#_#_#
_#_#_#_ internal waveform 100KHz

_#_________________ trigger from counter, connected on PFI0

_ABCDEFG..... on analog output, where A,B,.. are voltage values

thansk for all
-Claudio
0 Kudos
Message 2 of 3
(2,906 Views)
Claudio,

Since your VI is functioning correctly, it sounds like you want to verify your logic. Am I correct? Your explanation of the synchronization is valid.

Good luck with your application.

Spencer S.
0 Kudos
Message 3 of 3
(2,906 Views)