Hi,
Thank you for posting to the NI forums. Unfortunately, you can’t read from a digital output line without first stopping the task, and then creating a digital input task. Instead, as you mentioned in your post, I would recommend just keeping track of your digital output lines using software. You can easily create a multi-channel digital output task by entering the physical channel string in the following format: “Dev1/port0/line0:7”.
I hope this helps. Please post back if you have further questions.
Ed W.
Applications Engineer
National Instruments