Error -200220 When Running DAQmx on Another Computer

Updated Oct 19, 2018

Reported In

Driver

  • NI-DAQmx

Issue Details

I built a LabVIEW program using NI-DAQmx and potentially the DAQ Assistant. When I run this VI or executable on another computer, I receive the following error:
 
Error -200220 occurred at DAQmx Create Channel

Possible reason(s):

Device identifier is invalid.
 

I know that my device works on this computer. I have used the test panels in Measurement & Automation Explorer (MAX), and the device responds correctly. I also have the same versions of DAQmx on each computer or built NI-DAQmx into my distributed installer. Why do I get this error message?

Solution

This error message can be caused by having the wrong device name. The device name needs to be the same as the name inside the executable. The device name that the executable is calling for is listed in the error dialog box as Device Specified.

To to change the name of your device to match its name in the development computer:
  1. Launch NI MAX from the Windows Start menu.
  2. Browse to My System » Devices and Interfaces and locate your device.
  3. Right-click on the device and select Rename.
  4. Enter a name matching its name in the development computer and click on Save.
 

If the above troubleshooting steps do not solve the issue, check the steps in this knowledge base article to troubleshoot hardware installation problems.

Additional Information

  • If another device already has the name you want, you will need to change it first.
  • If you are using the DAQmx Create Virtual Channel VI, and you still do not see your device under the physical channels, check the filtering of the physical channel names as explained in Virtual Channels Missing in DAQ Channel Name Control or Constant.
  • This error may also occur if you are upgrading from the Traditional NI-DAQ (Legacy) driver and using the DAQmx Create Virtual Channel VI. To use this VI or the DAQ Assistant, the device needs to be verified under NI-DAQmx Devices, not Traditional NI-DAQ (Legacy) Devices in MAX.

WAS THIS ARTICLE HELPFUL?

Not Helpful