LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is LabView suited for developing serial data acquisition

from multiple rs232 ports, (ie. mergeing, displaying, and recording digital data from several sensors such as, conductivity/temprature/pressure, atennuation/absorbtion optical meter, lightscattering meteer, florometer, and other optical instrumentation) ??
0 Kudos
Message 1 of 2
(2,634 Views)
from multiple rs232 ports, (ie. mergeing, displaying, and recording digital data from several sensors such as, conductivity/temprature/pressure, atennuation/absorbtion optical meter, lightscattering meteer, florometer, and other optical instrumentation) ??LabVIEW can be used to treat as many serial ports as are installed in your computer. You can open each of them and discriminate among them via the VISA Resource Name. Look at Serial Communication.vi example for a simple reference on how to open and use serial communication.
The problem will arise in handling timeouts with several serial communications at the time: you will have to develop your project in separate loops or vis concurrently executing, othervise timeouts from different serial devices will sum (if you wait for an instrument to respond before sending commands to the next).
Don't use Visa Set Timeout: instead make small loops in which to look if the desired no. of characters are present in the serial buffer , and let time for others loop to execute b
y using Wait Until Next ms Multiple.vi.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,634 Views)