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.

Hi Mark,

I have the same error when running my procedure, and I don’t know how to modify.I’ve attached a screenshot .未命名.JPG

The top part of “CO pulse freq” is the trigger source in the second part of “CO pulse freq”, and I don’t know how to link the wire to solve the error. Thanks very much.

0 Kudos
Message 21 of 26
(3,857 Views)
hello yewt,

can you provide some further information on your application?
what hardware do you use?
can you show, which resources you use on the board and maybe the VI?

kind regards,

robert h
0 Kudos
Message 22 of 26
(3,850 Views)

hello robert h,

thank you for your reply.

I want to acquire several number of data at  the falling edge of the pulse.the pulse signal generated in the top counter is used to drive an electrical motor.the acquirtion device that we use is NI USB6251.the output of the pulse signal generated in the top counter is the source of the second counter .the second counter offers the timing clock for the AI. if   I use a signal generator instead of the top counter as the source of the second counter, I will get the right result. but when i use the top counter as the creenshot shows,it indicate the error "error-50103occured at  DAQmx Start Task.vi:1,The specified resource is reserved. The operation could not be completed as specified." would you tell me what is wrong and how to modify? 未命名.JPGthanks very much.

best wishes,

yewt

0 Kudos
Message 23 of 26
(3,836 Views)
hello yewt,

does that mean, that the first counter generates continues samples, where every sample should work as a starttrigger for a burst of samples to be acquired
on the analog input?
why don't you use the first counter directly as a clock for the analog input?

could you provide your VI with the given channels you selected on the controls in order to see which ressources are used on the board?

kind regards,

robert
0 Kudos
Message 24 of 26
(3,823 Views)

hello RobertH,

I think I didn't express clearly,so I draw a picture.

1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 I want to acquire samples in the position  that the arrows point at (for example,5000 samples every time).on the board, the top "CO Freq " is ctr0, the second  "CO Freq " is ctr1 and its trigger source is ctr0 internal output. the AI's clock source is ctr1 internal output. the AI channel is AI0,AI8.could you  tell me how to modify? maybe you have some other ways to realize this function ?

best wishes,

yewt

 

0 Kudos
Message 25 of 26
(3,814 Views)
hello yewt,

it seems like the internal routing cannot be done in this case.
may it be possible to use a pause trigger in your application?

i attached an example VI ...

kind regards,

robert
0 Kudos
Message 26 of 26
(3,769 Views)