Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous Input Output from DAQ

Hi
 
I am using a M6259 multifunction DAQ and labview 7.1 with daqmx. I have attached a program which takes two input analog signals and phase inverts one of them and output that signal. However I don't see the signal at the output channel of the DAQ using an oscilloscope. Can someone help to see where I have made a mistake.
 
Thanks
 
Mal
0 Kudos
Message 1 of 2
(2,927 Views)

Good afternoon Ravi,

I've had a look at your code and from what I can see, you are trying to output an analogue waveform, before you have started the task.

What I suggest doing is to take the DAQmx Start Task.vi and place it outside of the while loop. (Before the while loop is executed)

The task will then be started before you have written to the output.

This should produce the correct output.

I have attached a revised version of the code you sent me with the appropriate changes.

Please could you reply if this helps or if you need further assistance.

Kind Regards

 

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 2 of 2
(2,904 Views)