LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running multiple VI's from one data source

Hello,

 

I am newer to Labview, and currently stuck on a problem.

 

I have created a program to serial read from an RS232 port and extracted multiple points of the string and display it to the web. I would like to create a second VI from the same RS232 port and display one or two points of information. I have tried to do this with a global VI, but I can't web publish a global. Neither VI will have a user control, they simply display the data coming in. Any suggestions?

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

You could read the string into a global, and have two other VIs constantly read the global and extract information they care about. Even better would be to have the single reader parse the strings into different streams and send each one to a different VI.

0 Kudos
Message 2 of 3
(2,263 Views)

You really should have a separate loop just to read the COM port.  You can then parse the read data and send to the appropriate sections of code using queues.


GCentral
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 3 of 3
(2,255 Views)