10-24-2022 02:40 PM
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.
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
Solved! Go to Solution.
10-25-2022 02:03 AM
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…)
10-25-2022 07:59 AM
Thank you GerdW! Your suggestions resolved my problem!