Thanks Stefan:
sorry for the confusion.
-first, the VIs I have talked about are for different hardware, not from NI, that have static digital outputs (cannot be configured as input). So it would not be helpfull to look at the code. My point is that the function (Get TTL outputs value) is available for similar hardware, and I am looking if it is available for the USB-6501.
-second, in my application it should be possible that an executable program writes values to digital output - for example switching ON and OFF a couple of machines in a defined sequence. Then the user could close the executable, even log out of his Windows session. I suppose the USB-6501 stays in the state defined before the excutable program was stopped.
Then another user could log-in and start ANOTHER executable program that displays the status of the the machines.
You see that relying on the information in the program is not possible anymore. I would need some sort of temporary buffer then like a file in C:\, or an entry in the Registry, I'd rather avoid that.
Your suggestion of connecting my output lines to input lines would certainly work, but this still looks like a workaround - and it relies on external connections.
I would prefer to get the info directly from the USB-6501, I mean from the firmware. The device should be aware of the state of its lines. I there no direct way to get this info from the device?
regards,
Baptiste