Hello.
Using Labview 7.1 and the PCI 6071 DAQmx card i'm trying to generate a sine wave of controllable amplitude and frequency.This is done with the upper part of the vi. This sinus analog output is sent as an input to a device (some kind of transformer). At the output of this transformer i get again a sine wave with time-dependent amplitude (the amplitude decreases with time), and i need also my vi to acquire this waveform, calculate its amplitude and plot the values in a "amplitude vs time" graph (every one second). This is done with the rest of the vi.
The problem is that, firstly, i don't know how to measure absolute time and provide it to the graph (for the x-axis).
Secondly, just watching the amplitude values randomly as they arrive, i also get zero values which is impossible for the transformer output. I mean that, there are instances when the analog input channel measures, but on the same time my analogue output doesn't generate the sine wave.
How can i "synchronize" the input and output of the card, so that the input channel won't "acquire" in these instances when the output channel doesn't "generate"?
ps. i run the vi using the "run continuously" button , in order to achieve continuous generation and acquisition from the channels".