Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: DAQmx.DaqException: The specified resource is reserved. The operation could not be completed as specified.

Each task would use only one sample clock (that is divided down from the master timebase) so, yes, there is only one rate per task. You could sample at the fastest rate needed and do software processing to decimate the data for the devices that need fewer samples.

In LabVIEW you can right-click on the block diagram and search for “decimate” for a list of all the VIs that can do this. There’s also an example program that ships with LabVIEW called “Continuous Decimating”. The code isn’t as straight-forward as others, but it will give you an idea of what you can do.




Message Edited by Mark E on 02-28-2008 11:28 AM
Mark E.
Precision DC Product Support Engineer
National Instruments

Download All
0 Kudos
Message 11 of 26
(8,859 Views)

Hi

I have the same error message and I read the solution that the channels must be in the same task by changing the string Dev0/a0   to  Dev0/a0:a4 for example.....but I don't know how to change the string?

can any one help me please??

0 Kudos
Message 12 of 26
(8,754 Views)


Message Edited by Mark E on 04-03-2008 01:01 PM
Mark E.
Precision DC Product Support Engineer
National Instruments

0 Kudos
Message 13 of 26
(8,715 Views)
Hi reem,

I apologize for not explaining a little further. If you are not able to select the "Physical Channels" text box on the front panel, you may not have the right tool in LabVIEW. This would be tricky to troubleshoot unless you're aware that it's something you can change. To change the tool you're using select View » Tools Palette and make sure you're on the automatic tool (the top option). You can also get to this by the shortcut Shift + Right-click.

Now when you click inside the control, it should select the text so you can add additional channels.

If that doesn't work, repost with what you're experiencing and what you've already tried and someone will surely be able to help.


Message Edited by Mark E on 04-03-2008 01:47 PM
Mark E.
Precision DC Product Support Engineer
National Instruments

0 Kudos
Message 14 of 26
(8,695 Views)

Hi all

Thanks for your reply , but when I follow the steps to add another channel in the same task the same error is happened and I don’t know why ?

Can you please tell me what I should do to solve the problem and what is the steps to add another channel in the same task .I use DAQ assiatant with 6024E DAQ

thanks

0 Kudos
Message 15 of 26
(8,636 Views)
You can concatenate channel names, treating them as strings. In the Labview help, search for the "Physical Channel Syntax" page.

Hope this helps!


Message Edited by Ale83 on 04-05-2008 02:32 PM

Message Edited by Ale83 on 04-05-2008 02:34 PM
Message 16 of 26
(8,631 Views)

Hello-

 

 I have a general question on this topic. What the general debugging guidelines for figuring out what is causing this error? What would cause a resource to be reserved? How soon after a task completes are the resources freed again? If an asyncronous read is occuring when a single read is requested, would this cause the error?

 

-Bill

0 Kudos
Message 17 of 26
(7,015 Views)

Hi,

 

I think I have the same question,but I just can't find  

concat-dev2.JPG

where can I find it? 

0 Kudos
Message 18 of 26
(6,898 Views)

Hi Zhutong. Don't you have it under the Strings palette? "concatenate strings"?

0 Kudos
Message 19 of 26
(6,892 Views)

I'm afraid I just can't find it,I searched for it just now but still haven't seen it

Could you give me a photo? 

0 Kudos
Message 20 of 26
(6,889 Views)