In the system I'm working with, the ports on the USBs are being written to by an application, and I want to read the digital state of the wires at a certain point in time. I'm trying to perform these reads using the digital output tasks provided in NI-MAX. In order to test that the digital output tasks are working as expected, I tried to run a digital input task to write a known bit pattern to the wires, and then run a digital output task to read back the same values afterwards.
The issue is that everytime I run the digital output task, NI-MAX seems to first set all the wires to digital low before reading (thus always reading digital low on every wire). I can tell this because I know how the NI driven device should react to digital low on every wire.
Has anybody encountered this and is there a solution?