Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing voltages to different analog ports

Hi,

My code works this way: I created 4 taskHandles a0,a1,a2,a3.

My remaining part of code works fine, then almost in the end, I clear tasks for all 4 TaskHandles. 

Create a new start for a0 and a1, send some voltage and stop the task (didn't clear it).

Then if I do something in my code, which actually writes voltages to a2 and a3 (not a0 or a1), the voltages reflect on the ports a0 and a1. 
Not sure why, but I was printing what a0, a1, a2, and a3 was
Found out a0 and a3 were equal, and a1 & a2 were equal.
a0: nidmxfu.dll!0x00007ffcffdfd6e0
a1:nidmxfu.dll!0x00007ffcffdfd898
a2:nidmxfu.dll!0x00007ffcffdfd898
a3:nidmxfu.dll!0x00007ffcffdfd6e0

I'm just curious on why it writes to a0 and a1, when I'm clearly (as per code) writing voltages to a2 and a3.

Thanks

0 Kudos
Message 1 of 1
(1,269 Views)