Ktpsetpoticalibdata ktpgetwheelvalue – Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual

Page 37

Advertising
background image

Publication 2727-UM004B-EN-P - February 2004

SDK (Software Development Kit) for MobileView Terminals 4-13

KtpSetPotiCalibData

KtpGetWheelValue

Table 4.28

Declaration:

Visual C:

UINT8 KtpSetPotiCalibData(/*in*/ UINT16 rawMin,
UINT16 rawMax, UINT16 calibRange);

Visual Basic:

KtpSetPotiCalibData(ByVal rawMin As Integer,
ByVal rawMax As Integer, ByVal calibRange As

Arguments:

UINT16 rawMin: value for smallest raw value
UINT16 rawMax: maximum raw value
UINT16 calibRange: maximum range of overridepoti

Description:

Calibration of override potentiometer.
This function may only be called if an override potentiometer is
installed on the device. If no override potentiometer is installed,
the value of the components are undefined.

Table 4.29

Declaration:

Visual C:

UINT8 KtpGetWheelValue(/*out*/UINT16 *p_val);

Visual Basic:

KGetWheelValue(ByRef val As Integer) As Byte

Description:

Gets the actual value of the handwheel.

Arguments:

Pointer to the variable containing the current value of the
handwheel.

Remarks:

This function may only be called if a handwheel is installed on
the device. If no handwheel is installed, the value of the
components are undefined.

Advertising