I am trying to set up a motor's encoder to provide rotational angle as an analog signal that I can plot along with other monitored voltages/currents, etc on the Oscilloscope. With the encoder providing a digital signal, I have tried to modify a script used to provide numerical values of the relative step spacing into a pure step counts (I would then calibrate these degrees), but am having trouble with getting this code to work. Additionally, I am second guessing if I am looking at the game-plan properly as even though the code that I am modifying provides analog values, I am not able to get these values to plot on the scope. Given the somewhat basic nature of my code, it is probably clear to some that I am not an experienced coder, but I am looking forward to learning more.
Any guidance on where to look/what to try would be appreciated.
Question
1bioKAT
I am trying to set up a motor's encoder to provide rotational angle as an analog signal that I can plot along with other monitored voltages/currents, etc on the Oscilloscope. With the encoder providing a digital signal, I have tried to modify a script used to provide numerical values of the relative step spacing into a pure step counts (I would then calibrate these degrees), but am having trouble with getting this code to work. Additionally, I am second guessing if I am looking at the game-plan properly as even though the code that I am modifying provides analog values, I am not able to get these values to plot on the scope. Given the somewhat basic nature of my code, it is probably clear to some that I am not an experienced coder, but I am looking forward to learning more.
Any guidance on where to look/what to try would be appreciated.
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.