该内容不适用于您选择的语言

该内容将以另一种语言显示出来。 您可使用浏览器的翻译功能查看内容。

Error -200077 Occurred at NI-DAQmx Function in LabVIEW

Updated Oct 31, 2022

Reported In

Hardware

  • Multifunction I/O Device

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I am getting an error -200077 when trying to use a NI-DAQmx APIs: 
Error -200077 Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.

 

Solution

Depending on what NI Data Acquisition (DAQ) device your application uses and also I/O type of the channel, certain terminals will only accept certain inputs.

In the body of the error message, the property will let you know what terminal on the DAQmx Function is reporting the error, the "Requested Value" indicates what value you are currently attempting to pass, and "Possible Values" informs what an acceptable input would be. Changing the value to one of the "Possible Values" will resolve this error. 

In the above screenshots for a multifunction DAQ device, the only acceptable values are as follows:

  • DAQmx Create Channel (AI-Voltage-Basic): Error -200077 is occurring due to NRSE being the currently selected value. Changing this to Pseudodifferential will resolve the error. If you are encountering a similar error but believe your device should support the value you have selected, check with your device manual to verify which pins support which measurement types by following the Product Documentation website. 
  • DAQmx Timing (Sample Clock): The "Sample Rate" value needs to be changed, or the Mode should be changed to On Demand. Since the DAQmx Timing VI (Sample Clock) doesn't have the On Demand value, we need to use DAQmx Timing Node instead of Sample Clock, as shown in the screenshot below.
image.png
  • DAQmx Create Channel (AO-Voltage-Basic): Suggested input values (Volts or From Custom Scale) should be used for units for analog output (AO) tasks.
 

Additional Information

If running a Shipping Example (LabVIEW example code that provides by installing the LabVIEW), verify the device you are using is supported with that example by checking under its "Requirements" section in the NI Example Finder.
image.png