Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

getting DAQ and IMAQ to synchronize

Hi,
 
I'm trying to synchronize my DAq and Imaq acqusitions and can't seem to get them to operate simultaneously. I've included a picture of my VI where you can see the DAQ and Imaq sequence. The problem is that the While loop which contains the DAQ Read executes faster than the Sequence. I keep getting an error message telling me that the wrong number of samples has been acquired. This lets me suppose that they are not really synchronized...or else they would start and finish at the same time...
 
If someone could help me out with this I'd really appreciate it.
 
Phil
0 Kudos
Message 1 of 2
(2,813 Views)

Phil,

I do not know your full application, but if you are intending to acquire one analog data point with each frame you do not want to synchronize with the VSync signal.  You will probably want to use the Start Acquisition or some other signal that will trigger once per frame.  See the following link to read more about the signals.

http://zone.ni.com/devzone/conceptd.nsf/webmain/0C19487AA97D229C8625685E00803830

I hope this helps.  If you have any more questions please post a little more information about what you are trying to do.

Regards,

Angela

0 Kudos
Message 2 of 2
(2,799 Views)