Hi, I took a look at your program, but the code is not very clear. I
guess with input and output in you mean the AI one point and AO one
point function calls. However they are running in parallel, so you
cannot say which one goes first and which one goes second. You can use
a sequence structure to make sure they run in the correct sequence.
(now the AI one point can happen after the AO one point; place a
sequence in the while loop and put the AI one point in the first
frame). You can put your X-Y graph  inside the while loop if you want
to view the results on the fly. With realtime I suppose you mean,
while gathering data and controlling the process you want to do a
comparison. You can do the calculation inside your while loop.

Best regards,
ErikvH
Applications Engineering
National Instruments

Reply via email to