LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -50103 occurs although both DAQmx Start Task VIs access different analog inputs

Solved!
Go to solution

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

tim_1926_0-1723801975972.png

 

0 Kudos
Message 1 of 2
(2,571 Views)
Solution
Accepted by topic author tim_1926

@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

 

 

0 Kudos
Message 2 of 2
(2,554 Views)