LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket does not work with two network cards

If I have two ethernet card in a PC. The Datasocket server does not work if the second card is enabled. It keeps displaying resolving IP Address. I am wondering if there is a solution for this problem.
 
Thanks 
0 Kudos
Message 1 of 3
(2,472 Views)

Do both ethernet cards share the same IP address? If so, you should try assigning them different ones. Also, have you tried just using the TCP/IP VIs to see whether they have the same problem. Datasocket is nothing more than an abstraction of TCP/IP, so using those "lower level" VIs will give you more control over how the commnunication is done and may reconcile your problem.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,452 Views)

Thanks for you reply. One card has a static address(10.20.35.1), which is used for Data socket, and the other card uses a dynamic IP address. The card with dynamic address is only used for connecting the PC to the company’s network.

The second card, when turned on causes the Datasocket server problem. In the Datasocket Server manager I have only two IP addresses under Permissions Groups. (10.20.35.1 and 10.20.35.11. 10.20.35.11 is the IP address of the remote PC with labview application. The Datasocket is used to transfer data between the two PC’s)

I am wondering if my set up for hosts in Datasocket Server manager is not correct.

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