Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port communication

heyy 

 i am varun , biginner in labview. i am developing a vi in which i have to log data of temperature,pressure and airmass. these values are obtaining by different instruments by serial port. so my question is " can i read 2 or more com ports,lan port symultaniously and log their data in a array or cluster in a singal vi ?  if yes please send me detail procedure to develop this vi.if you hav any example of such vi then it will be very heplful for me.

 

waiting for your reply 

 

thanks

 

varun dongre

varun.eni09@yahoo.co.in

 

0 Kudos
Message 1 of 2
(3,023 Views)

I think that depends on your definition of simultaneously.  If you mean everything at the exact same time, no.  If you mean in parallel within a given time period, sure.

 

Look in the example finder (Help->Find Examples...) for Simple Serial Write and Read.  That will be a good starting point.  You can pretty much duplicate the code in order to talk to the other instruments.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(3,011 Views)