Error -200099 Occurred at DAQmx Create Channel

Updated Jun 13, 2024

Reported In

Driver

  • NI-DAQmx

Issue Details

  • I am using LabVIEW trying to read/write data using Analog I/O device channels, but receiveΒ 𝙴𝚛𝚛𝚘𝚛 -𝟸𝟶𝟶𝟶𝟿𝟿 𝚘𝚌𝚌𝚞𝚛𝚛𝚎𝚍 𝚊𝚝 𝙳𝙰𝚀𝚖𝚡 𝙲𝚛𝚎𝚊𝚝𝚎 𝙲𝚑𝚊𝚗𝚗𝚎𝚕.
image.png
Β 

Solution

This error can be caused by the execution of a task within the code that requires reading a physical channel of the device used, which must be defined prior to program execution. The troubleshooting steps below will be useful to mitigate this error.
  • Ensure that you have created theΒ Simulated NI-DAQmx Devices in NI MAXΒ before running the program. Note: The device should be visible in Measurement & Automation Explorer (NI MAX), as shown below:
image.png
  • When using a DAQmx Constant, the required channel must be specified, if this is left empty the tasks executed by the program that require reading that constant will fail and the 𝙴𝚛𝚛𝚘𝚛 -𝟸𝟶𝟶𝟶𝟿𝟿 will indicate that the physical channel has not been established. Once theΒ DAQmx Physical Channel is specified the error should no longer appear.Β Note: The following image is an example of how to define the channel:
image.png
Β