LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add / remove NIC to / from Network Bridge in XP?

How to add / remove NIC to / from Network Bridge in XP?
 
Using WMI or another way?
 
Thanks
0 Kudos
Message 1 of 4
(3,224 Views)
And this is a LabVIEW question how?

Creating a network bridge is an OS operation, and is best done within Windows. While there is probably a way to do it with the API, it's not clear why you would need to do this programmatically.
0 Kudos
Message 2 of 4
(3,216 Views)
Thanks for your replying.
I'll discribe my problem.
We develop PCMCIA cards.
To check throughput using traffic generator (SmartBit foe exs.) needs Eth port for connecting the card side to the traffic generator. 
There is not another way as creating Nework Bridge between PCMCIA and another NIC.
 
The problem is that the card for getting IP from DHCP server and network service must be removed from Bridge, Disabled/Enabled and added to Bridge again. If you work with 20 cards this turns to big problem to do it manually.
 
How to add / remove NIC to / from Network Bridge in XP programmatically?
 
Thanks.
0 Kudos
Message 3 of 4
(3,193 Views)
In this case, since you're asking for something that is rarely done, your best bet would be peruse Microsoft MSDN articles and documentation on Windows Sockets programming information, since you're really asking about a Windows programming task. All that you would be doing in LabVIEW is simply using the Call Library Function to call the Windows functions. As to what those functions are, that would most likely be found in MSDN.
0 Kudos
Message 4 of 4
(3,180 Views)