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


 
18
3.5.2. INDEX
#
Brief
Description
Name
Arguments (in C Syntax)
Full Description
12
Set Index
Pulse Polarity
SetIndexPulsePolarity
(long CardHandle,
short EncoderNumber,
short Polarity)
Selects the polarity of the index (marker) pulse coming from
user's encoder.
13
Get Index
Pulse Polarity
GetIndexPulsePolarity
(long CardHandle,
short EncoderNumber,
short* Polarity)
Gets the current status of the Index Pulse Polarity (active on
high/low).
14
Set "reset upon
index"
SetIndexResetsPosition
Counter
(long CardHandle,
short EncoderNumber,
short EnabledDisabledMode)
Defines whether a reset (=clear) of the Internal Position
Counter (IPC) should take place upon index (marker) pulse
coming from user's encoder.
Note:
The eXternal Position Counter (XPC) is NOT affected
immediately.
Run RequestPositionCounter to apply the effect on the
XPC, and ReadPositionCounter to read the XPC (refer to
section 3.5.5, functions #26-27).
15
Get "reset
upon index"
GetIndexResetsPosition
Counter
(long CardHandle,
short EncoderNumber,
short*EnabledDisabledMode)
Gets the current status of "reset upon index" (enabled or
disabled).
Note: The description of the common arguments is in section 3.6