LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I combine Analog Input (position LVDT) and Analog Input (load cell) into the same task?

Hi Friends,

I have come across an Error-50103. To resolve this issue, I must combine all operations of the same type into the same task. How can I combine Analog Input (position LVDT) and Analog Input(load cell) into the same task?

 

Thanks,
Jason

 

 

Error.JPGerror vi.jpg

 

 

0 Kudos
Message 1 of 5
(2,714 Views)

I think your problem is diferent, you have configured a Task named LVDPosition and Load Cell and calling them in the first step of your code

imagen.png,

and then you are then calling the same physical channel as the task you called:
imagen.png

You should use only one of them or the first part of the code, or the second one. I would recomend to use the second one as you did with the digital signals.

 

Greetings!!!

Roger Garcia, Certified LabVIEW Developer

HTML tutorial

There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 2 of 5
(2,666 Views)

Hi Roger Garcia,

 

Thanks for your analysis. Actually, It has no error if I build a VI with only the upper code (LVDT) or only the lower part code (LoadCell). However, if I put both of these two signals in parallel into one VI as the picture shows, Error-50103 will appear. My question is how can I eliminate this kind of error? Is it possible to combine these two signals into one NI-DAQmx Create Virtual Channel?

 

Thanks again,

Jason

0 Kudos
Message 3 of 5
(2,654 Views)

Hi Roger Garcia,

 

Thanks for your analysis. Actually, It has no error if I build a VI with only the upper code (LVDT) or only the lower part code (LoadCell). However, if I put both of these two signals in parallel into one VI as the picture shows, Error-50103 will appear. My question is how can I eliminate this kind of error? Is it possible to combine these two signals into one NI-DAQmx Create Virtual Channel?

 

Thanks again,

Jason

0 Kudos
Message 4 of 5
(2,653 Views)

@Jason2018 wrote:

Is it possible to combine these two signals into one NI-DAQmx Create Virtual Channel?


Actually, you need 2 calls to the Create Virtual Channel chained together.  There is a task input to have the channel added to the task.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(2,638 Views)