10-24-2016 08:38 AM
Hello
I am getting a weird behaviour when I run the attached VI on my computer to test/control output of digital ports individually. I haven't tested it on actual hardware as it is not available at the moment.
When the code is run, the output pins start to count incrementally straight away (binary counting). Activation of input pins does not have any effect which is counter off the purpose.
It seems to me like the DAQmx function is the one that misbehaves, but I am not sure why. All I want to do is activate different ports respectivly specified by my selection.
Could someone please tell what I am doing wrong?
Thanks
Solved! Go to Solution.
10-24-2016 09:02 AM
It is because you are using a simulated device. Reads just do the counting pattern for digital ports. Once you get real hardware, it should work the way you are expecting.
10-25-2016 01:15 AM
Hello crossrulz
Okay, although I was afraid of that which was my last assumption. But thanks for your reply.
Kind regards
Ercan