Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Run analog input and analog output at the same time???

Hey,just wondering if i can run a data acquistion program to get data from an instrument and make a change to an analog output device at the same time.Basically wot im doing is this,im reading a pressure from a gauge using AI, but wot i want to then is change a setpoint on another device and notice the change in the AI gauge.

Any help would be greatly appreicated

Cheers
0 Kudos
Message 1 of 4
(6,504 Views)
Hey Dazza,

All you need to do for this is simulteneous analogue input/output. This can be done easily in LabVIEW, by configuring the output channel and input channel parallel to eachother, and then begin the while loop with both a read and a write function in. The order of execution is controlled by the error handling string which is passed from each sub-vi to the next.

Check out these examples attatched below. These are part of the examples that ship with LV itself. I found these by selecting: LV help > Find Examples, then performing a search on the word: simultaneous.

Let me know if these help you out.

Ryan.
0 Kudos
Message 2 of 4
(6,474 Views)
Here's the other, (more usefull), example:
0 Kudos
Message 3 of 4
(6,474 Views)
Thats perfect,spot on.
Thanks a million
0 Kudos
Message 4 of 4
(6,471 Views)