Rockwell Automation 2727-M7P20D1P1, -M7P20D1Q2,-M7P20D1Q3 MobileView Machine Terminal MT750 User Manual

Page 90

Advertising
background image

Publication 2727-UM003D-EN-P

6-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