LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

counter reset in event structure / for loop

Hi,

I am looking to reset a counter output, for each iteration of a for loop. I am controlling the angular position of a stepper motor, by counting the pulses that the motor receives.

it is for use with a panoramic camera. It should move once, stop when the counter value equals the inputed angle * 10. Is that is fine for the first loop, but when the second loop starts, the counter has continued to count up ,and then the motor wont rotate because the counter value os too high... it thinks it has reached the desired positon. so i need to be able to reset the counter output... Any Ideas

 

Thanks in advance

 

Peter

 

 

0 Kudos
Message 1 of 2
(3,635 Views)
Continue in original thread.
0 Kudos
Message 2 of 2
(3,626 Views)