From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial RS232 through Ethernet ?

Hi,

I have an instrument (simple temperature controller - Omega)

the connection interface is db9 - RS232 - 9600 8 N 1
My labview program works and I read temperature.
The connection is through my computer serial interface.


Now, I want to use a Serial to Ethernet converter.

I have this model : IOLAN SDS4 - 4 x RJ45 serial ports, software selectable RS232/422/485 interfaces, 10/100 Ethernet, advanced feature set
https://www.perle.com/products/product_detail.asp?a=1&i=3


How can I set Labview to access the port 1 of my converter ?

Does anyone already made Serial over Ethernet with Labview ?

Thanks in advance

0 Kudos
Message 1 of 7
(7,636 Views)
According to that link, each should appear as a new com port in Windows so you would just select the port that is connected. Do they appear in Windows Device Manager? Do they appear in MAX?
0 Kudos
Message 2 of 7
(7,614 Views)

Yes, this morning, I installed true port from PERLE (https://www.perle.com/supportfiles/device_plugin_tech_note.shtml) and now, I have 4 com port in windows.

 I was also missing one pin to the converter db9-rj45.

now, it works

0 Kudos
Message 3 of 7
(7,544 Views)

i have similar situation. i can see the perle COM ports in Max, but max says visa has no access to the com port...same error in labview vi (using VISA)...the com selector shows all new com ports, but apprantly can't connect....help!!

0 Kudos
Message 4 of 7
(5,715 Views)

1 - I use IOLAN SDS-4 in my case (I use RS-232 & RS-485 Modbus connection)
2 - I installed TruePort Management Tool on Windows
3 - you can configure TruePort on Windows in either Full Mode or Lite Mode
https://www.perle.com/downloads/drivers/trueport/windows/windows_ug-12.pdf
I use Full Mode
4 - in Windows, device manager, I see TruePort Serial Port (COMx) 
5 - in Max, I saw the Virtual Serial Ports

6 - for debugging, I use a small program which works on physical serial port of the computer or USB/COM adapter

7 – when try with virtual COM Port, sometimes the serial port stay open and I need to restart the computer. The communication wasn’t closed and the best solution is to restart.

8 – in full mode, I saw that only 1 computer can access the module. If multiple computers, you need to use Lite Mode
9 – I check in IOLAN to install the last firmware.
10 – check good pinout when convert DB9 to RJ45

0 Kudos
Message 5 of 7
(5,700 Views)

hi Minikisscool,

thanks for your reply, it was very helpful!!

it works now

cheers

devender

0 Kudos
Message 6 of 7
(5,694 Views)

Maybe you should look through the connectors? This guide helped me to make the choice - Guide 

Perle is among this list of best serial to IP converters. 

0 Kudos
Message 7 of 7
(5,181 Views)