I'm developing a Stepper Motor application, and would like to simulate the output of a relative encoder, which looks like a series of square pulses as the motor rotates, 63 to be exact (one tooth is missing).
My board is providing a 5V pullup to the encoder output, so I assume I would need to use 'WaveGen' configured as an Open-Collector, set the frequency (~1hz), and set it to do a set number of pulses then stop, but I'm not finding these options. Am I looking in the wrong place or should be using a different function (pattern, script)?
Question
blipton
I'm developing a Stepper Motor application, and would like to simulate the output of a relative encoder, which looks like a series of square pulses as the motor rotates, 63 to be exact (one tooth is missing).
My board is providing a 5V pullup to the encoder output, so I assume I would need to use 'WaveGen' configured as an Open-Collector, set the frequency (~1hz), and set it to do a set number of pulses then stop, but I'm not finding these options. Am I looking in the wrong place or should be using a different function (pattern, script)?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now