08-16-2024 04:54 AM
Hello everyone,
I would like to read another sensor into my software via AnalogInput on NI PXIe-6341 with NI SCB-68a. So far I am reading in AI5 differentially from the same card. The new sensor should now also be read in differentially via AI7. I am trying to open both channels one after the other via DAQmx Start Task. The first channel is opened without error. The second channel (prototypically named) “DAQmx Physical Channel” throws the error -50103. Do any of you have an idea why this could be?
Many thanks in advance
Tim
Solved! Go to Solution.
08-16-2024 07:23 AM
@tim_1926 wrote:
Hello everyone,
I would like to read another sensor into my software via AnalogInput on NI PXIe-6341 with NI SCB-68a. So far I am reading in AI5 differentially from the same card. The new sensor should now also be read in differentially via AI7. I am trying to open both channels one after the other via DAQmx Start Task. The first channel is opened without error. The second channel (prototypically named) “DAQmx Physical Channel” throws the error -50103. Do any of you have an idea why this could be?
Many thanks in advance
Tim
Error -50103 means: "The specified resource is reserved. The operation could not be completed as specified."
You can not start two analog in tasks using one device.
Instead you need to configure the task to read more than one line. In the physical channel use something like: Dev1/ai5, Dev1/ai7