06-22-2017 10:18 AM
I've got a PXI chassis with 3 network cards in it. I want to configure their IP addresses using the System Configuration API. My problem is that I can't seem to find a property that I can use to distinguish between them. I can pull their MAC Addresses, but that won't help because I'm deploying to several PXI and each set of cards gets different addresses. I was hoping to pull Serial Number, Product Name, or even slot number so I could tell which card was which (I have an 8110 controller, 6682 timing card, and an 8231), but that property doesn't seem to be supported for Network Adapters.
Anyone have an idea what property I could pull instead? Or another method would be fine too, I just need to set their IP addresses to the card in the right slot. I've tried doing this with RAD too, but it doesn't seem to be able to tell the cards apart either, and sometimes switches the static IP addresses on deployment.
06-22-2017 12:03 PM
The example that I am pointing you to is written for GPIB, but could just as easily be for any device. Look at my initial response for reading the registry data for determination. https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Automate-changing-of-GPIB-Interface-IDs/m-p/...
06-22-2017 12:25 PM
Thanks for the suggestion, but it looks like I need access to the windows registry to do that. Is there a hacky way I can get access to that on my Pharlap RT controller 8110?