LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Count pulses from one counter and give pulse train output from the other (PCI 6220)

Hi,

 

I have a stepper motor with an encoder. I want to give pulse train output to move the stepper motor and also take f/b from the encoder to display the angle of rotation. I have created a VI for generating pulses which works fine. Another VI to read pulses which also works fine. But when I put both of them together, I get a DAQ error. Is it not possible to use both counter together?

 

Further info: I'm rotating in only one direction and the positional accuracy is not critical, hence I didn't use a motion controller.

 

Rgds,

Giridhar Rajan

LDP - Engineering

NextFirst Engineering Technologies Pvt. Ltd.

Bangalore, India

0 Kudos
Message 1 of 2
(2,514 Views)

Hey!

 

Which error do you get? Which card are you using?

I guess your pulse train generation (it depends on if it is a finite or continous generation) needs two counters, because of that you get an resource error.

 

 

Christian

Message 2 of 2
(2,483 Views)