Error -200220 "Device Identifier Invalid" When Deploying System Definition File in VeriStand

Updated Aug 30, 2018

Reported In

Software

  • VeriStand PC

Driver

  • NI-DAQmx

Issue Details

When I try to deploy my System Definition file in VeriStand I get message similar to the following error message:

The VeriStand Gateway encountered an error while deploying the System Definition file. 

Details: 
Error -200220 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi 

Possible reason(s): 

Device identifier is invalid. 

 

Solution

This error occurs when your DAQ hardware does not have the same name in both NI Measurement and Automation Explorer (MAX) and your System Definition file. 

You need to either change the name of your device in your System Definition file to match its name in MAX, or vice versa.

Additional Information

VeriStand will try and use the name of the device in the System Definition file as the physical address for the device. For example, take the following error message: 

Device identifier is invalid. 
========================= 
NI VeriStand: NIVS_DAQ Measurement Types Plugins.lvlib:DAQmx Create Channel (AI-Voltage-Basic).vi:1780001<append> 
Device Specified: usb-6259 
Suggested Device(s): Dev1 

Task Name: usb-6259_AI 

 

In this example, we can see that in the System Definition, the device name was specified as usb-6259. However, in NI MAX, there is only a device named Dev1. This error occurs because VeriStand tries to access usb-6251/AI0 which doesn't exist, whereas if it tried to access Dev1/AI0 there would be no issue.

By ensuring that the device name in both the System Definition and NI MAX are the same, we will avoid this error

WAS THIS ARTICLE HELPFUL?

Not Helpful