Hello,
It is possible to do Analog Input and Digital Input operations together. You may actually look at the simultaneous AI and AO example in CVI (which is a C file only) at the following link to get an idea. If you need more help please do let me know.
Link 1 Please do let me know if you have any questions.
Sincerely,
Sastry V
Applications Engineer
National Instruments