LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I select Ethernet adapter with Modbus/TCP server?

I have 2 Ethernet adapters on my laptop, and I have set up a Modbus TCP I/O server.  When the server deploys, is uses the adapter with an address of 192.168.168.33.  I want it to use the adapter with the address of 192.168.168.2.  My device has an address of 192.168.168.99.  How can I force it to the correct adapter?
0 Kudos
Message 1 of 3
(2,639 Views)
The adapter is basically selected by its subnet and gateway. Since both are probably the same in this case, you might need to play with the adapter priorities. This is basically determined by the OS, so searching Microsoft's site might help. The other option is changing one of the cards to be on a different subnet.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,619 Views)

TST-

I did change the subnet and got it to work, kind of.  It communicated sporadically.  I am going to try using the drivers in the Modbus library.

0 Kudos
Message 3 of 3
(2,614 Views)