Rockwell Automation 2727-G7P20D3Q7 MobileView G750 Guard Machine Terminal User Manual

Page 102

Advertising
background image

Publication 2727-UM002D-EN-P

7-8 Windows CE Applications

int CKVCConnection::OnWheelChange(SINT16 wheelAbsVal);
The method OnWheelChange will be called if the value of the handwheel
has changed. The current value is transferred as an absolute value in the
parameter wheelAbsVal.

virtual int OnKeyboardEvent(TKVCEvent keyEvent, int keyNum);
The method OnKeyboardEvent will be called if a key has been
pressed/released. The key number is specified in keyNum, the state of the
key (make, break) in keyEvent.

int CKVCConnection::OnSpacemouseEvent(TKVCEvent event,
TKVCSpaceMouseData *pSMData);

The method OnSpacemouseEvent will be called if the space mouse is moved
from the 0 position, and if it reaches the 0 position. The current position is
transferred in the parameter event, and the current values in the parameter
pSMData.

int CKVCConnection::OnDisconnect(int val);
The method OnDisconnect will be called if the client terminates the
connection with the disconnect message.

int CKVCConnection::GetWheelVal(TKVCHandWheelData &hwData);
The method GetWheelVal returns the current position value of the wheel in
hwData.absVal, and the modification value since the last call in
hwData.dynVal.

int CKVCConnection::GetOverrideValue(SINT16 &overrideVal);
The method GetOverrideValue returns the current value of the override
potentiometer in the variable overrideVal.

int CKVCConnection::GetSpaceMousePos(TKVCSpaceMouseData &smData);
The method GetSpaceMousePos returns the current space mouse position in
the variable smData.

int CKVCConnection::GetLedState(UINT8 ledNr , UINT8 &state);
The method GetLedState is used to request the current state of the LED
transferred in ledNr. The result is returned in state.

int CKVCConnection::GetContrast(UINT8 &contrast);
The method GetContrast returns the current value of the contrast setting in
the variable contrast.

Advertising