LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to configure ethernet port on sbRIO 9638 to act as both master and slave

Solved!
Go to solution

Hi,

 

My setup:

PC--->USB---> RT Target (sbRIO-9638) ---> Ethernet---> 3rd party device (Works)

 

What I wish to do:

PC---> Ethernet 0---> RT Target (sbRIO-9638) ---> Ethernet 1 ---> 3rd party device (Does not work)

 

In the current setup, I can connect to the 3rd party device (Telnet protocol) over Ethernet, works as expected. But I am getting an error 59 trying to connect to the 3rd party device when sbRIO is also connected to PC over Ethernet. Connection is to be established on sbRIO which would make sbRIO act as a MASTER for the 3rd party device and Slave for the PC.

 

Below is a screenshot from NI MAX and the 3rd party device is also configure for DHCP mode and it shows its IP when a connection is made.

XM43_0-1666639952368.png

 

 

I would like to eliminate USB and only use the Ethernet connections. Is it possible to achieve this? If yes, can someone guide me in the right direction?

 

Thanking you

X

 

 

0 Kudos
Message 1 of 3
(1,152 Views)
Solution
Accepted by topic author XM43

Hi X,

 


@XM43 wrote:

My setup:

PC--->USB---> RT Target (sbRIO-9638) ---> Ethernet---> 3rd party device (Works)

 

What I wish to do:

PC---> Ethernet 0---> RT Target (sbRIO-9638) ---> Ethernet 1 ---> 3rd party device (Does not work)

 

In the current setup, I can connect to the 3rd party device (Telnet protocol) over Ethernet, works as expected. But I am getting an error 59 trying to connect to the 3rd party device when sbRIO is also connected to PC over Ethernet. Connection is to be established on sbRIO which would make sbRIO act as a MASTER for the 3rd party device and Slave for the PC.

 

Below is a screenshot from NI MAX and the 3rd party device is also configure for DHCP mode and it shows its IP when a connection is made.

 

I would like to eliminate USB and only use the Ethernet connections. Is it possible to achieve this? If yes, can someone guide me in the right direction?


When you want to establish communication over Ethernet then both/all devices should be in the same IP address range.

Suggestion: change the ETH1 port from "DHCP" to "static IP" and choose a valid IP address in the same range as your "3rd party device".

Example: your "3rd party device" uses the IP address 192.168.59.2 then set sbRIO to 192.168.59.99. (Use the same subnet 192.168.59.x and a valid, but different IP address x.x.x.2/99 for both devices…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(1,105 Views)

Thank you GerdW! Your suggestions resolved my problem!

 

 

0 Kudos
Message 3 of 3
(1,085 Views)