LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error-50103 occurred at DAQmx Start Task.vi

Solved!
Go to solution

Hi All,

 

I am having quite the difficulties merging two VIs. I am trying to get thermocouple readings and pressure readings in one VI. I think the two AOs are competing for clock resources. Please forgive my noob-ness. I am very new to LabVIEW and it is not the most intuitive. I have attached the thermocouple VI that I am trying to insert into the pressure VI. I appreciate any help. Both VIs were working before the merge.

Download All
0 Kudos
Message 1 of 9
(7,538 Views)

Your VI could really use a cleanup. I can't figure out what your VI is doing, and I'm not going to spend an hour trying to figure it out. All I can do is point you here: Causes of NI-DAQmx Error -50103 "The Specified Resource is Reserved"

0 Kudos
Message 2 of 9
(7,534 Views)

Hi bronco.

 

From what I was able to pick up, you start an analog task in both VI's at the same time, depending on your card that could be causing trouble (namely if your card only has 1 ADC).

 

Check out the link thatsmercurio posted, what I mentioned is one of the reasons the article mentions.

 

 

Aldo H
Ingenieria de Aplicaciones
Message 3 of 9
(7,528 Views)

Agreed, it is pretty ugly.

 

Looking at #6 on that list, I am taking in an analog input of pressure and an analog input of temperature. Is the hardware unable to support this? Would I need another card to support this operation?

0 Kudos
Message 4 of 9
(7,527 Views)

ADC?

 

I have the instruments reporting to a PCI-6281. I also have a PCI-6602 with RTSI if that can controbute to the solution.

0 Kudos
Message 5 of 9
(7,526 Views)

Hi Bronco.

 

The problem you have is that you're calling 2 Analog Input tasks at the same time, and they both try to access the resources on your DAQ. In this case the DAQ only has 1 ADC (analog to digital converter) that is multiplexed to acquire data from all channels.

 

To solve this you have to combine both tasks into a single  task, here's a link on how to do it: http://ae.natinst.com/public.nsf/web/searchinternal/3296ba2aef586b7386256d6d00528e3d

 

If you want to send the data from one VI to another there are several techniques. You could use a global variable (easiest but not recommended), a functional global variable, queues or other methods.

 

I hope this helps.

Aldo H
Ingenieria de Aplicaciones
0 Kudos
Message 6 of 9
(7,522 Views)

link didn't work...

0 Kudos
Message 7 of 9
(7,519 Views)
Solution
Accepted by topic author bronco9588

I'm sorry!

 

Gave you the wrong link, here's the correct one: http://digital.ni.com/public.nsf/allkb/3296BA2AEF586B7386256D6D00528E3D?OpenDocument

Aldo H
Ingenieria de Aplicaciones
0 Kudos
Message 8 of 9
(7,513 Views)
0 Kudos
Message 9 of 9
(7,485 Views)