LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple IP address UDP open error

I am facing the problem while working with multiple Ethernet cards and LabVIEW data communication blocks (UDP function blocks) I have created a VI there i am opening the UDP connection ID (socket reference) from UDP open functionIn my system there are two Ethernet cards one is configured with 192.168.200.19 and other one is configured with 192.168.200.101both are connected to network In the VI code there are two UDP open blocksInput to first block is  net address - 192.168.200.19port number - 7000 Input to second block is net address - 192.168.200.101port number - 7000 later i am using these connection ID (socket referece) to read or write UDP function blocks Whenever i run this vi the error with error code 60 is displayingIf i use the different port number (7000 for fist and 7002 for second) it will workIt is giving error only when the port numbers are same 

Can I use the same port number with different IP address to open the connection ID ?

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

Your description is very hard to understand. Can you show us some actual code instead?

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

Hi there

 

As far as i know you can't use a UDP port more than once on a single computer, no matter how many network adapters you have. The port number is not attached to the network adapter.

 

btw: why do you use two network adapters with different IPs, but in the same subnet? 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 3
(3,333 Views)