beautypg.com

Ktpgetoverridepotiraw ktpgetenablingdevice – Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual

Page 36

background image

Publication 2727-UM004B-EN-P - February 2004

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

KtpGetOverridePotiRaw

KtpGetEnablingDevice

Description:

Gets the current value of the override potentiometers.

Arguments:

Pointer to the variable containing the current value of the
override potentiometer.

Remarks

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

Table 4.26

Declaration:

Visual C:

UINT8 KtpGetOverridePotiRaw(/*out*/UINT16 *p_pos);

Visual Basic:

KtpGetOverridePotiRaw(ByRef pos As Byte) As Byte;

Description:

Gets the uncalibrated value from the override potentiometer.

Arguments:

Pointer to the variable containing the current value of the
override potentiometer.

Remarks

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

Table 4.27

Declaration:

Visual C:

UINT8 KtpGetEnablingDevice(/*in*/
TKtpEnablingDeviceCircuit circuit);

Visual Basic:

KtpGetEnablingDevice(ByRef deviceCircuit As Integer)

As Byte;

Description:

Circuit is the value of the enabling switch to be read.

Arguments:

Returns the current value of the enabling switch transferred in
the circuit

Table 4.25