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.
- DAQmx Create Channel (AO-Voltage-Basic): Suggested input values (Volts or From Custom Scale) should be used for units for analog output (AO) tasks.