07-19-2011 10:31 AM
Does anyone know if it's possible to re-direct a com port to an ethernet data socket in labview? so I could use tcp/ip to connect to it?
thanks
07-19-2011 10:35 AM
it is possible but you must write the redirecting code.
Nothing existe to do it automaticly
Regard's
EricC
07-19-2011 11:08 AM
is it possible with labview? do you know how I might approach it if it is?
07-19-2011 11:35 AM
The approch is relativy easy
1)
open the serial port
open a tcpip connexion
2) in a loop :
2a) for all bytes at serail port send it on tcpip
if needed add some speific information
(eg : conversion between modbus serial to modbus tcpip)
2b) for all bytes incomming by tcp/ip send it to the serial port
3) if no connexion are opened, do nothing
of course you must understand the tcp/ip connexion. So you can make a litle test by a server that send a text to a client and vice-versa.
You have a lot of example in LV.
regard's
EricC
07-19-2011 01:19 PM
great, thanks for the help
07-19-2011 01:31 PM
NI-VISA supports both serial and TCP/IP. Just try changing the resource name.
11-17-2013 07:39 AM
I need few hints how to communicate with COM port on another computer (slow mini ITX on home network) with installed LabView7.1 and Visa 3.0. It must be MAX installed on remote computer?
I don’t want to install too much SW on remote comp. On primary computer are LabView2010 and Visa 5.2
11-17-2013 03:34 PM
11-18-2013 12:58 PM
I want to go through ethernet to COM port on another computer.
11-18-2013 03:22 PM
@Oldi wrote:
I want to go through ethernet to COM port on another computer.
That sentence does not make a lot of sense. Can you describe in more detail how you want to connect these two?
Are you looking for an ethernet to serial converter?