LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 50103

Hello,

 

I am quite new to Labview and I am experiencing problems related to error 50103.

 

I would like to measure the RPM and the angular postion of an IC engine, using NI 9401 and NI 9704.

 

First, I created one task to measure the angular position with the 'DAQ assistant - angular position', reading cntr1  (PFI 4, 5 and 6), wich perfectly worked.

And then I used another task to measure the frequency with the 'DAQ assistant - frequency', reading PFI4.

 

These two tasks worked well when I seperatly run them, but then I get the error 50103 if I want to measure frequency and angular position at the same time.

 

After reading in the forum, I understood that I can only have one DAQ task per DAQ device. I know it is possible to add more that one channel in one task, but here the DAQ assistant is not of the same type (angular position and frequency).

 

If you could help me on thaht issue, I would be most grateful.

 

Thank you and sorry for my poor english.

0 Kudos
Message 1 of 7
(3,561 Views)

Can you post a screen shot of that error.  I'm not finding that error in LabVIEW.  I also can't find the 9704 on the NI site.  Are you sure that's the right model number?

 

Are you using the same module for the position and frequency measurements?  Notice that they both use PFI4.

 

EDIT:  Found the error on the NI site: http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89

Resource is reseved.  It sounds like my guess was correct.  Make sure you are using different modules.


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 2 of 7
(3,558 Views)

Yes, that is a common error and you are right, you can only have a single task for a common resource (i.e. analog input) and the solution is to have both channels in the task. Simply clicking on the 'Add Channels' button at the top of the Assistant will bring up the dialog to add another channel of whatever measurement type you want.

0 Kudos
Message 3 of 7
(3,550 Views)

Thank you for your reply Crossrulz.

 

I am sorry and you are right, the chassis is NI cDAQ 9172, my mistake.

 

My problem is I don't know how I can use two different modules ; I measure the angular position with an optical encoder. PFI 4 and PFI 6 receive two channel quadrature outputs, and PFI 5 receives a third channel qudrature output. This last channel (Channel I) is significant because a pulse is generated once for each full rotation of the wheel : it can reset the angle from 360 to 0 to each rotation. I really need to acquire these three channels to get the angle.

 

For the frequency, I use PFI 5, the index channel of the encoder.

 

I know I get the error because I am using at the same time PFI 5 for the angle measurement and for the frequency. Maybe I can split the wire of channel I (I mean physically), and use this wire in two different modules. But I am afraid the voltage is too low if I do that.

 

Please see attached my error.

 

Thank you

0 Kudos
Message 4 of 7
(3,534 Views)

Thank you

 

 

0 Kudos
Message 5 of 7
(3,532 Views)

I thought that since they were both counter tasks, you could select two different ones. I can't test it myself right now.

0 Kudos
Message 6 of 7
(3,525 Views)

@MarieV wrote:

I know I get the error because I am using at the same time PFI 5 for the angle measurement and for the frequency. Maybe I can split the wire of channel I (I mean physically), and use this wire in two different modules. But I am afraid the voltage is too low if I do that.


If you are worried about voltage drop, add a buffer circuit.  With simple buffer, you can easily supply two digital inputs.


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 7 of 7
(3,515 Views)