Ben is on the right track here...

If you open up the following two examples that ship with LabVIEW (use
the LabVIEW example finder):
"Cont Acq&Graph (buffered).vi" and "Read from 1 Dig Port (E).vi"
You can run both of these two VIs at the same time.  This will be the
best you can do for simultaneous DI and AI.  The reason is that the
Digital Input on the E-series boards is not a "strobed" or
hardware-timed operation but the Analog Input is.  So there is no way
to correlate the data exactly.  If this works for you, do as Ben
suggested and combine the code from the two VIs into your main
application.  Good Luck!!!

Sincerely,
Brooks Bailey
Applications Engineer, NI

Reply via email to