You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a DAQmx channel is created for physicalChannel=Dev1/ai0:7 with nameToAssignToChannel=myChan09, then DAQmx will assign Dev1/ai0 the name myChan09, Dev1/ai1 the name myChan10, and so on. In particular, notice the renumbering of the channels and the zero padding of the numbers. See https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/nameassignment.html for reference.
If a DAQmx channel is created for physicalChannel=
Dev1/ai0:7
with nameToAssignToChannel=myChan09
, then DAQmx will assignDev1/ai0
the namemyChan09
,Dev1/ai1
the namemyChan10
, and so on. In particular, notice the renumbering of the channels and the zero padding of the numbers. See https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/nameassignment.html for reference.nidaqmx calculates the virtual names incorrectly.
To demonstrate, run the following script:
It will fail on the last line with
nidaqmx.errors.DaqError: Specified channel is not in the task.
.The output before that is
The text was updated successfully, but these errors were encountered: