Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6008 Signal output problems

hi I have put together some code for outputting a triangle wave and a refrecnce voltage.
These signals go then to my USB 6008 Daq card.

I then read back the signals through the card and display them on a graph.

Or so I would hope...

I created a task in the daqmx base, called fyp_signals_out
which uses channels Ao0 and Ao1 (both max 5v and min 0v)

in the attached program the bottom two work fine but the triangle waveform generator at the top creates an error just before the run task vi.
the error i get is: 200559

to me the code seems fine(that's why im here)
please help
0 Kudos
Message 1 of 2
(3,203 Views)
Hi,

The first problem that I see with your block diagram is that you have two Analog Output tasks. You can only have one of these open/running at a time. If you were to close the first one, and then run the second one, that would work. Or, just combine both channels into one.

This should help. Have a Great Day!

George
0 Kudos
Message 2 of 2
(3,150 Views)