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: