Quantcast
Channel: Measurement Studio for VC++ topics
Viewing all articles
Browse latest Browse all 660

Writing voltages to different analog ports

$
0
0

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


Viewing all articles
Browse latest Browse all 660

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>