Encoder 1047
Posted: Thu Jan 03, 2019 9:11 pm
Ok I am new. I am trying to make an interface that uses all four (4) encoders and has reset buttons for each one after I manually home each encoder to set it at zero. I have read through the documents and the code examples. I am at a loss.
1) how do I open and print all the channels at once
2) how do I get the position (not the change that the code example has but like the phidgets interface that I downloaded and used to make sure the board was good) so it reads 100 then 101,102 etc it stead of 5,0,9,0 etc (change of state since last check)
3) reset to zero once homed... no clue.
I have the interface designed in QT5 and I know how to get stuff to it and have the buttons on there to reset zero when pushed what I am lacking is the knowledge of the encoder board calls to do it.
Help please.
1) how do I open and print all the channels at once
2) how do I get the position (not the change that the code example has but like the phidgets interface that I downloaded and used to make sure the board was good) so it reads 100 then 101,102 etc it stead of 5,0,9,0 etc (change of state since last check)
3) reset to zero once homed... no clue.
I have the interface designed in QT5 and I know how to get stuff to it and have the buttons on there to reset zero when pushed what I am lacking is the knowledge of the encoder board calls to do it.
Help please.