Error -200431 When Creating a Pulse Measurement Counter Input Task

Updated Mar 30, 2023

Reported In

Hardware

  • Analog Output Device
  • Multifunction I/O Device

Driver

  • NI-DAQmx

Issue Details

I am using the Pulse Measurement Counter Input tasks in DAQmx with my DAQ device and I am getting the following error at DAQmx Create Channel VI :

Error -200431 occurred at DAQmx Create Channel (CI-Pulse Freq).vi:630001
Possible reason(s):

Selected physical channel does not support the measurement type required by the virtual channel you are creating.

Create a channel of a measurement type that is supported by the physical channel, or select a physical channel that supports the measurement type.


 

Solution

There are three new counter pulse measurements (listed in the table below) available in DAQmx 9.0 and later that are only supported on X Series devices, 661x devices and newer cDAQ devices.  If you attempt to create these tasks with unsupported hardware, you will receive the above error.
 

Additional Information

Pulse Measurement task types return the paired measurements that are listed below. The resulting measurement values are the values that will be generated by the appropriate DAQmx Read VI: 
 
Task TypeResulting Measurement Values
CI Pulse FreqFrequency & Duty Cycle
CI Pulse TimeHigh-Time & Low-Time
CI Pulse TicksHigh Ticks & Low Ticks

These tasks are similar to the semi-period counter measurement which is supported with most DAQ hardware.