LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multichannel acquisition for NI 9219 module.

Solved!
Go to solution

Dear all,

I am using NI 9219 for multichannel acquisiton. I have connected flow meter (sm6120) with analog current input 4-20mA at a0 pin, 2 RTD sensors (PT1000) at a1 and a2 pins, and actuator (samson 5827) for flow controller at a3 pin.

All tasks are running individual but when I combine these for a single program, it is showing error 50103.

I have attached my code below, please let me know what I did wrong.

Your help is appreciated. 

Thank you!

0 Kudos
Message 1 of 5
(912 Views)

50103 is a resource conflict.

 

Check that NIMax is closed.
Check you don't have multiple instances running.
Your program runs fine without conflict for me.

0 Kudos
Message 2 of 5
(901 Views)

Thanks for your reply 🙂

I am running only one program at a time. Everything else is always close. 

0 Kudos
Message 3 of 5
(886 Views)
Solution
Accepted by topic author Aditi.hiray

Hi Aditi,

 


@Aditi.hiray wrote:

All tasks are running individual but when I combine these for a single program, it is showing error 50103.


Can you put all channels into one DAQmx task? Both tasks seem to use the same settings (regarding sample rate etc.)!?

Which task is currently giving the error? Which function raises the error? Is it one of the DAQmxTiming functions?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(884 Views)

Dear GerdW,

Thanks for your reply. I combined all channels to create one analog input task. program is working now!

In my previous program, I was getting error after read vi for current. It wasn`t passing the signal after reading current input. 

 

Kind regards,

Aditi

0 Kudos
Message 5 of 5
(838 Views)