Solution
This error can be caused by:
- Incorrect instrument descriptor.
Make sure a valid instrument descriptor for a NI-DMM device has been entered on the front panel of the VI. Valid instrument descriptors for such device should have one of the following formats:
The NI-DAQmx name or Traditional NI-DAQ device number for the DMM device is listed in NI MAX, under the hardware tab in Devices and Interfaces.
Refer to the NI
IVI Driver Help for guidance on how create IVI logical names for a DMM. In this help file, refer to the IVI Driver Help
Introduction»Configuring Your System Using MAX»Measurement & Automation Explorer Help for IVI section.
- Incorrect settings at Initialize with Option VI.
Before calling the VI in driver simulation mode, Simulate should be set to 1 in the Option String control.
- When running as an .rtexe, add a wait time before the niDMM Initialize.vi, so all the needed drivers are correctly loaded in the Real-Time target by the time the VI runs. In some cases the wait time can be up to 1 minute.
In case of none of the solutions proposed resolve the issue,
reset MAX database . After the reset, make sure the device’s name/number in MAX still matches the application's. Otherwise, the error will persist.