LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronism

hi,
i have one problem on syncronization of a labview program.i work with an input card NI4472 and an output card NI6711.
 
with my labview program i generate a continuous sinewave that  can change frequency or amplitude according to  various conditions, and remain continuous without pause, i send this output signal to a system.
at the same time the program should aquire the input response from the system only after a change of the output parameters(amplitude or frequency), and after perform some calculations with those data.
the problem is that the aquire is not synchronized with the changes of the output.
 
i'm thinking to use the command occourence but i don't know how, could you give me any help?
thanks.
 
0 Kudos
Message 1 of 2
(2,465 Views)

The occurrence is a software synchronisation, what is the timing you need, us or ms or s

In case of s you can do whatever you want, with ms you need to be carefull and in case of us you need hardware timing.

There is an example of synchronous output and input in daqmx with accurate timing, this is hardware timing so even on us level.
C:\Program Files\National Instruments\LabVIEW 8.0\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Synch AI-AO.vi on my system.

You can always throw too many datapoints away.

greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,443 Views)