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:
- 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:
Β