04-08-2020 05:08 AM
I would like to use the report feature of NI MAX to automatically generate tester status report, including active devices and drivers installed on a tester.
For example: nimax.exe /REPORT:filename="d:\nimax_report.html";reportType="custom";silent="false"
Unfortunately this command does not trigger the Scan for Instruments command to collect the actual status information of different VISA devices.
So my question is, if there is a way to trigger this Scan for Instruments command from command line to really get an actual snapshot of connected devices?
10-15-2020 01:55 AM
10-15-2020 01:28 PM
The problem here is not generating the report. I know there are many ways and I tried different. So unfortunately these articles do not help.
The real problem is how to update NI MAX internal database to generate an actual report. If I would do it manually, I would simply push the scan for instruments button. But from command line or with help of API this is not possible.
The closest solution I have found until now, is to use VISA API to search for instruments before generating the report. This updates VISA device entries, but unfortunately it erases all the device meta information.
The report then lists only Instrument 1, Instrument 2, ...