Hello,
Unfortunately, I do not know of any way that you can do this using only one port. The problem is that you will need to use a strobed operation for outputting a digital signal. The 653x devices do not have the ability to input and output at the same time during using a strobed operation. However this can be done if you could use port 0 and 1 as input and port 2 and 3 as output.
Let us know if you would like more information on how you could do this using two ports.
Best regards,
Justin T.
National Instruments