Omega Engineering EN-EIC-325-PCI Network Card User Manual


 
22
3.5.5. POSITION COUNTER
#
Brief
Description
Name
Arguments (in C
Syntax)
Full Description
25
Reset (=clear)
Position Counter
ResetPositionCounter
(long CardHandle,
short EncoderNumber,
short OutputsMirror)
Clears the Internal Position Counter (IPC) of one or two axes.
OutputsMirror: This argument is described within the function
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
updated reading
of Position
Counter
RequestPositionCounter
(long CardHandle,
short EncoderNumber,
short OutputsMirror)
Updates the eXternal Position Counter (XPC) according to the
Internal Position Counter (IPC):
XPC IPC.
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
Counter
ReadPositionCounter
(long CardHandle,
short EncoderNumber,
long* PositionCounter)
Reads the eXternal Position Counter (XPC):
PositionCounter XPC.
Note:
To update the XPC, call RequestPositionCounter (function
#26).
Note: The description of the common arguments is in section 3.6