Omega Engineering EN-EIC-325-PCI SetIndexPulsePolarity, Short Polarity, GetIndexPulsePolarity

Models: EN-EIC-325-PCI

1 43
Download 43 pages 98 b
Page 20
Image 20

3.5.2. INDEX

#

Brief

Description

Name

Arguments (in C Syntax)

Full Description

12

Set Index

SetIndexPulsePolarity

(long CardHandle,

 

Selects the polarity of the index (marker) pulse coming from

 

Pulse Polarity

 

short EncoderNumber,

 

user's encoder.

 

 

 

short Polarity)

 

 

 

13

Get Index

GetIndexPulsePolarity

(long CardHandle,

 

Gets the current status of the Index Pulse Polarity (active on

 

Pulse Polarity

 

short EncoderNumber,

 

high/low).

 

 

 

short* Polarity)

 

 

 

14

Set "reset upon

SetIndexResetsPosition

(long CardHandle,

 

Defines whether a reset (=clear) of the Internal Position

 

index"

Counter

short EncoderNumber,

 

Counter (IPC) should take place upon index (marker) pulse

 

 

 

short EnabledDisabledMode)

 

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

GetIndexResetsPosition

(long CardHandle,

 

Gets the current status of "reset upon index" (enabled or

 

upon index"

Counter

short EncoderNumber,

 

disabled).

 

 

 

short*EnabledDisabledMode)

 

 

 

Note: The description of the common arguments is in section 3.6

18

Page 20
Image 20
Omega Engineering EN-EIC-325-PCI manual SetIndexPulsePolarity, Short Polarity, GetIndexPulsePolarity, Counter