Omega Engineering EN-EIC-325-PCI manual Brief, Arguments in C Syntax Full Description

Page 19

 

3.5.

 

ENCODER LEVEL FUNCTIONS

 

 

 

3.5.1. RESOLUTION

 

 

 

 

 

 

 

 

 

 

 

#

 

Brief

 

Name

Arguments (in C Syntax)

Full Description

 

Description

 

 

 

 

 

10

Set Encoder

SetEncoderResolution

(long CardHandle,

Selects the appropriate resolution that fits user's encoder.

 

Resolution

 

 

short EncoderNumber,

 

 

 

 

 

 

 

short ClocksPerCycle)

 

11

Get Encoder

GetEncoderResolution

(long CardHandle,

Gets the current selection of the Encoder Resolution (1, 2 or 4

 

Resolution

 

 

short EncoderNumber,

Clocks/Cycle).

 

 

 

 

 

 

short* ClocksPerCycle)

 

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

17

Image 19
Contents User’s Guide Servicing North America Model Table of Contents Section Each Encoder Interface includes the following elements Encoder InterfaceCards Hardware I/O Software InputsPIN LAY-OUT Encoder InputsLogical Inputs Encoders Event Signals and General OutputsFunction Type Pin No CPP InstallationVB folders Page WinSysPath folder WinSysPath is Page Page Introduction to the Functions Chip Level Functions Card Level FunctionsGetActiveChip Brief Name Arguments in C Syntax Full DescriptionSetActiveChip All the following functions refer to that active chipInputs Brief Description NameShort EncoderNumber BriefArguments in C Syntax Full Description Short EncoderNumber Short ClocksPerCycleCounter SetIndexPulsePolarityShort Polarity GetIndexPulsePolarityGetSetPoint SetSetPointLong SetPoint SetPointPolarity SetEncoderEventFlagSource GetEncoderEventFlagClearEncoderEvent SetHoldEncoderEventFlag GetHoldEncoderEventLong* PositionCounter ResetPositionCounterShort OutputsMirror ReadPositionCounterAvailable only for RequestPositionCounter Polarity Encoder Counters IntroductionGeneral Input Signals from the EncodersSquare wave signal Sine wave signalGeneral SoftwareConnector Wiring for the Inputs Connector Wiring for the Outputs Yes NextFinish WinNTPage Page Page Page Page Page Page Appendix D Product Development WARRANTY/DISCLAIMER Shop online at omega.com