Template:UGEncoderENABLE: Difference between revisions
From Phidgets Support
(Created page with "===Encoder=== Double-click on the Encoder object, labelled ''Encoder Input'', in order to run the example: [[Image:{{{1}}}_Encoder_Example.jpg|center|link=]] {{UGExampleDesc...") |
No edit summary |
||
Line 7: | Line 7: | ||
*Toggle the ''Enabled'' checkbox to enable/disable the {{{1}}}. | *Toggle the ''Enabled'' checkbox to enable/disable the {{{1}}}. | ||
*Specify a counts per revolution (CPR) value to enable velocity calculation. | *Specify a counts per revolution (CPR) value to enable velocity calculation. | ||
* | *Encoder data is described: | ||
* | **'''Position Change:''' the number of ticks (or quadrature cycles) that have occurred since the last change event. | ||
* | **'''Time Change:''' the amount of time in milliseconds that has elapsed since the last change event. | ||
* | **'''Position:''' the total position in ticks relative to where the encoder was when the window was opened. | ||
* | **'''Index Position:''' the position where the index channel was last encountered. Some encoders do not support index, check your encoder's datasheet for more information. | ||
**'''Velocity:''' the average velocity in rotations per second. A CPR must be specified to enable this functionality. | |||
<br clear="all"> | <br clear="all"> |
Revision as of 21:20, 14 June 2017
Encoder
Double-click on the Encoder object, labelled Encoder Input, in order to run the example: [[Image:{{{1}}}_Encoder_Example.jpg|center|link=]]
General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:
- Toggle the Enabled checkbox to enable/disable the {{{1}}}.
- Specify a counts per revolution (CPR) value to enable velocity calculation.
- Encoder data is described:
- Position Change: the number of ticks (or quadrature cycles) that have occurred since the last change event.
- Time Change: the amount of time in milliseconds that has elapsed since the last change event.
- Position: the total position in ticks relative to where the encoder was when the window was opened.
- Index Position: the position where the index channel was last encountered. Some encoders do not support index, check your encoder's datasheet for more information.
- Velocity: the average velocity in rotations per second. A CPR must be specified to enable this functionality.