Error -200431 When Doing Encoder Measurement with USB-621x in DAQmx Base

Updated Sep 27, 2019

Reported In

Hardware

  • USB-6210
  • USB-6211
  • USB-6212
  • USB-6215
  • USB-6216
  • USB-6218

Driver

  • NI-DAQmx Base

Issue Details

I have an M Series USB DAQ device (USB-621x) that I am using with the DAQmx Base driver. I can perform different counter input tasks, such as edge counting, but when I try to perform an angular or linear encoder measurement, I get the following error:

Error -200431 occurred at an unidentified location

Possible Reason(s): 
Selected physical channel does not support the measurement type required by the virtual channel you are creating.
 
 

I checked the data sheet for my device and it says that it supports encoder measurement tasks. Why am I getting this error?

Solution

Note: NI-DAQmx Base is compatible with macOS 10.14 and earlier versions and starting 2018, NI-DAQmx for Linux is included with the NI Linux Device Drivers. Please check compatibility for Windows, Linux, and macOS  for supported versions of this driver. For more information, please read the End-of-Life Announcement for DAQmx Base Driver.


Encoder tasks are not currently supported for bus-powered USB M Series devices such as the USB-621x in DAQmx Base. DAQmx Base does support encoder tasks, such as angular and linear position, but only for PCI M Series devices.

In order to perform encoder tasks on the USB-621x you must use the DAQmx driver.

WAS THIS ARTICLE HELPFUL?

Not Helpful