For an application we are developing it is necessary that an application is matched with the correct USB GPIB device, because we use multiple GPIB USB devices the GPIB board id sometimes changes after a restart.
Now we want to retrieve the serial number of the GPIB device so we can match the application with the correct USB GPIB. I know ni stores the information in the file GPIB.ini on windows machines, is there also such a file under linux?
If not is it possible to retrieve the serial number of the USB GPIB device via VISA? Or else how does NI retrieve the serial number before writing it in the GPIB.ini file.
I also know it is possible to retrieve the serial number via the ibask function but this is only possible if you open the GPIB device, but this cannot be done if the device is already in use by another application (application hangs).