04-25-2024 10:35 AM
I have a weird issue with NI MAX popping up suddenly. I've configured an ATE to use an ITECH Electronic Load Mainframe and a Rohde and Schwarz Power Supply.
The R&S instrument is a VXI ethernet connected device, whereas the ITECH instrument is simply a raw socket ethernet connected device. They both connect to an Aruba network switch and are discoverable on that network now as I am writing this.
Both have static IP configurations and have been functional for several months with several power cycles.
I use the system configuration tools in LabView to help ensure all test instruments are connected prior to executing any commands to an instrument. One morning, operators boot-up the ATE to find these two instruments are no longer available. I found them no longer listed under the network device category in NI MAX. I had to add them back to NI MAX manually on my own. Never have I needed to do this before.
Short term solution is simply to leave the instruments running continuously, but I may need to implement my own methods in LabView to detect connected instrumentation. I would like to continue using NI MAX to do this, since it is more convenient and generally seems to work fine.
Is it possible that running the system config functions prior to turning on the instruments can cause it to be dropped from the config? That would seem like a bug in NI MAX to me. I'm just doing a query for NI MAX's configuration info, which should only update in the event of NI MAX being ran. Something test operators don't do at all.
Alternatively, is it possible for the config to lose network device configs if a switch disconnected? Typically if I simply unplug the device or power it down, the instrument is still in the config but shows up as unavailable. That's not what I'm seeing here. It's just gone completely.
Solved! Go to Solution.
04-25-2024 10:43 AM
Hi abenevides,
our ATE devices usually load/update their MAX configuration upon start of the test software.
This way we make sure they never forget all the configured devices!
(Yes, we also noticed from time to time especially devices connected by LAN are forgotten.)
04-25-2024 11:36 AM
Hi GerdW.
Thanks for corroborating my theory!
Do you mind elaborating a bit on your implementation? I didn't think there were any tools for updating the MAX configuration from within the LabView environment.
If I can edit the config like you suggested, I could use some config files with the IP information to do a similar procedure where in the event of a lost device, the software can update the configuration so long as it is still connected to the network.
I think I may only have an incomplete understanding of the system configuration toolkit!
04-25-2024 07:05 PM
Use NI System Configuration API to configure NI MAX programmatically.
See shipping examples at Examples Finder >> Hardware Input and Output >> System Configuration >> Export Configuration VI and Import Configuration VI
04-26-2024 11:31 AM
Thanks ZYong.
I think the Import Configuration VI is exactly what I needed here.
Just to finish off this discussion, my process is now as follows :