07-06-2023 03:57 AM
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!
Solved! Go to Solution.
07-06-2023 04:34 AM
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.
07-06-2023 05:53 AM
Thanks for your reply 🙂
I am running only one program at a time. Everything else is always close.
07-06-2023 05:54 AM
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?
07-06-2023 08:49 AM
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