LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the IP address of my PC from LabVIEW?

I have an application that uses three Ethernet ports for redundant communication. I have a multiport Ethernet card in my PC with dedicated addresses that talk directly to Ethernet ports on my product. The customer has asked that the port addresses on the product and the PC be settable. My question is how do I change the IP addresses of the Ethernet ports on the PC using LabVIEW? If not LabVIEW, can anyone point me to a DLL I can call from LabVIEW to do the job?
0 Kudos
Message 1 of 4
(5,652 Views)
Try the code posted here. I haven't tried it in a while and it worked with NT and 2K but I think it works with XP.
Message 2 of 4
(5,647 Views)
Looks like that did the trick, thanks!! Smiley Wink
0 Kudos
Message 3 of 4
(5,630 Views)
Another possibility might be the registry access VIs. Haven't tried though.
0 Kudos
Message 4 of 4
(5,602 Views)