LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronising output-input data

Hello,
 
i'm a newbie here. Currently using a PCI-6221 M-Series, with LabWindows/CVI Version 7.1.
 
I'm currently working on a continuous sine wave generating analog output,in which i send this signal to an amplifier, and then the amplified current to coil/solenoid. The inputs are the amplified current (i'm not directly measuring the current though...) and the induced voltage in the coil. It works perfectly.
 
Now I'm trying to send a single sine wave cycle, and as input the response of the coil to this single wave. The problem is, I can't synchronise the output and input data. If I send the signal at say t=0, the input is somewhere else, say t=15 ms. For my application, I need to synchronise the input/output timing so that if i send the single wave at t=0, I would receive the response in a very short delay. Is there anayway to do it ?
 
The actuall problem is triggering. How can i synchronise it using the software ?
 
Many many thanks in advance
 
-rizalbasri-
0 Kudos
Message 1 of 2
(2,603 Views)

In traditional DAQ you can set the trigger for data acquisition to that of output generation by using

Select_Signal (1, ND_IN_START_TRIGGER, ND_OUT_START_TRIGGER, ND_DONT_CARE);

this way data qcquisition starts syncronously with output generation.

If you are using DAQmx you must look for the equivalent of this command but unfortunately I cannot help you.

Message Edited by Roberto Bozzolo on 02-24-2006 04:38 PM



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,599 Views)