LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using dual ethernet ports in LabVIEW RT

     I am building a LabVIEW RT 8.5 system on a computer with two ethernet ports (actual ethernet connections), one which is defined as primary. I have set them up on mutual exclusive subnets as suggested in other threads. What my system needs to be able to do is "fail over" gracefully to the other port if it determines (by a received "heartbeat") that one ethernet path has failed. What I haven't been able to determine is how to specify, in LabVIEW RT 8.5, which ethernet "card" to access. I would appreciate any suggestions, or information in this.
 
As usual, Thank you in advance.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 1 of 2
(3,340 Views)
Hi there,

Its been a while since I did this, but if my memory serves me correctly there is no way to specify which NIC to use, but its defined by the IP address you try and connect to.

So as you have two different subnets, then LV or the Windows TCP/IP stack is smart enough to direct traffic to the correct net adapter?

In your case can you open two TCP connections, and just switch transmission to the other connection if a failure is detected?

nrp

ps: it was a while ago, my memory may be completely wrong!

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