Other functions, Other functions -14, Ktpsetwheelvalue – Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual

Page 38: Ktpgetstatus

Advertising
background image

Publication 2727-UM004B-EN-P - February 2004

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

KtpSetWheelValue

Other Functions

This section covers other functions that perform various actions by the
MobileView terminal.

KtpGetStatus

Table 4.30

Declaration:

Visual C:

UINT8 KtpSetWheelValue(/*in*/UINT16 val);

Visual Basic:

KtpSetWheelValue(ByVal val As Integer) As Byte

Description:

Sets the current position of the handwheel to the value
transferred in val.

Arguments:

val is the value the handwheel should be set to.

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.

Table 4.31

Declaration:

Visual C:

UINT8 KtpGetStatus(/*[out]*/Status *p_tpuStatus);

Visual Basic:

KtpGetStatus(ByRef ktpStatus As Byte) As Byte

Description:

Gets the start-up state of the handheld terminal.

Arguments:

Status *p_tpuStatus, pointer to memory area that will receive a
copy of the status structure.

Advertising