3.5.5.POSITION COUNTER
#
Brief
Description
Name
Arguments (in C
Syntax)
Full Description
25 | Reset (=clear) | ResetPositionCounter | (long CardHandle, |
| Clears the Internal Position Counter (IPC) of one or two axes. | ||||||
| Position Counter |
| short EncoderNumber, |
| OutputsMirror: This argument is described within the function | ||||||
|
|
| short OutputsMirror) |
|
|
|
|
|
|
| WriteOutputs (section 3.4.2, function #9). |
|
|
|
|
| Note: | ||||||
|
|
|
|
| The | eXternal Position Counter (XPC) is NOT affected directly. | |||||
|
|
|
|
| Run RequestPositionCounter to apply the effect on the XPC, | ||||||
|
|
|
|
| and ReadPositionCounter to read the XPC. | ||||||
26 | Request an | RequestPositionCounter | (long CardHandle, |
|
|
| Updates the eXternal Position Counter (XPC) according to the | ||||
| updated reading |
| short EncoderNumber, |
|
| Internal Position Counter (IPC): | |||||
| of Position |
| short OutputsMirror) |
|
| XPC ‹ IPC. | |||||
| Counter |
|
|
|
|
| OutputsMirror: This argument is described within the function | ||||
|
|
|
|
|
|
| WriteOutputs (section 3.4.2, function #9). | ||||
|
|
|
|
|
|
| Note: | ||||
|
|
|
|
|
|
| Run | ReadPositionCounter (function #27) to read the XPC. | |||
27 | Read Position | ReadPositionCounter | (long CardHandle, |
|
| Reads the eXternal Position Counter (XPC): | |||||
| Counter |
| short EncoderNumber, |
|
| PositionCounter ‹ XPC. | |||||
|
|
| long* PositionCounter) |
|
| Note: | |||||
|
|
|
|
|
|
| To | update the XPC, call RequestPositionCounter (function | |||
|
|
|
|
|
| #26). |
| ||||
Note: The description of the common arguments is in section 3.6 |
|
|
|
|
|
|
|
22