LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why do I get Error -50103 by starting an DAQmx task?

Hi There, My question is maybe simple for you but I can't help myself at the moment.

I have two DAQmx Channels where I will read single samples. But when I start the task I get an Error, with the possible reason that my resource probably is reserved. But I don't know why it should be?!?!

 

I use LV 8.2 (german version)   Can somebody help me? ThanksPetric

 

0 Kudos
Message 1 of 5
(3,110 Views)
You can't have two separate DAQ tasks use the same resources such as the timing clock.  What you can do is create a single DAQ task that has both channels that you want to read assigned to it.  Once you have the two channels read, you can use array functions (and/or waveform functions) to separate the two DAQ channels and use them where you need them.
Message 2 of 5
(3,107 Views)

Hi Ravens Fan,

 

Thanks for your quick reply. Unfortunatly I can't see how to have two chanells in one task...

I did attached the VI I have ate the moment.

 

Petric

0 Kudos
Message 3 of 5
(3,098 Views)
It's really pretty simple. In your case, it would be Dev2/ao1,Dev2/ao4:5. You can get this by selecting the Browse option when you click on the arrow of the physical name constant. You'll also have to change the DAQmx read to NChannels.
Message 4 of 5
(3,082 Views)
Thanks! I figured it out...  So quick a mouse can become an Elephant...
0 Kudos
Message 5 of 5
(3,067 Views)