Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Output with 2 channels writing only one value to both channels

Solved!
Go to solution

Hello, I'm running Labview 16 with DAQmx 16.1.0

I saw this behavior first in my application and also in the DAQmx analog output example vi (attached).

In my application, I was sending a 2D DBL array to write to the outputs a0 and a1. Even though the two channels in the input array had different values, only 1 value would be written to both outputs.

For example, if the input array was {[1,2,3,4],[40,80,120,160]}, the output on both channels would be {40,80,120,160],[40,80,120,160]}. When I switched the order of the channels in the input array, the other value would be written to both outputs. I've seen the same issue with inputting a 1D waveform array. The issue was there with the DAQ assistant and using the DAQmx blocks.

Why is this happening??

Thanks

0 Kudos
Message 1 of 5
(2,902 Views)

What hardware are you using?

0 Kudos
Message 2 of 5
(2,844 Views)

I'm using a Ni USB-6001 Daq

0 Kudos
Message 3 of 5
(2,842 Views)

How are you measuring the output?

 

I tested the code you sent on a cDAQ, and each waveform is written separately across the individual channels.

How are you reading in the data?

Are you experiencing Ghosting?

What troubleshooting have you tried?

0 Kudos
Message 4 of 5
(2,823 Views)
Solution
Accepted by topic author jazzzzz

Sorry this was a silly grounding issue.

It has been resolved.

If anyone in the future sees this thread, just check your wiring first

0 Kudos
Message 5 of 5
(2,815 Views)