LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview mimic serial port or localhost server

Hi all 

 

Im after running into a problem 

 

I have a labview vi that generates the message 

I want to get this message to an application running on my pc,

the application can only establish serial or network connections

 

is there any way labview can mimic a localhost server or serial port?

 

thanks 

 

0 Kudos
Message 1 of 5
(2,389 Views)

LabVIEW can do either. If you could provide a bit more information it might be easier to give you advice. As a side note, my preference is to use TCP whenever possible. Serial works well using VISA. There are examples of both in the examples that ship with LabVIEW. You can find them on the toolbar at Help->Find Examples...



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 5
(2,381 Views)

data_output.png

 

This is my program

in the top left hand corner of the while loop is my interpretation of  mimicking a web server with a port of 127.0.0.1:2000

and writing data too it continuously

 

 

 

0 Kudos
Message 3 of 5
(2,353 Views)

its not working by the way was just hoping someone could point out my errors

0 Kudos
Message 4 of 5
(2,352 Views)

thanks for the help 

turned out it was working all along

it was just a case of closing the application and reopening it  

thanks

 

0 Kudos
Message 5 of 5
(2,304 Views)