Rockwell-automation 2727-MRSDK MobileView Terminals Software Developme Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 50
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
Publication 2727-UM004B-EN-P - February 2004
SDK (Software Development Kit) for MobileView Terminals 4-11
KtpGetJoystickCalibData
KtpGetOverridePoti
Visual Basic: KtpGetJoystickPosEx(ByRef posX As Integer, ByRef
posY As Integer, ByRef posZ As Integer) As Byte
Description: Gets the actual raw data of the joystick.
Remarks Calling this function is only allowed if a joystick is installed on the
device. If no joystick is installed the values of the components are
undefined.
Table 4.24
Declaration:
Visual C: UINT8 KtpSetJoystickCalibData(/*in*/TKtpJoystickChannel ch
UINT16 rawMin, UINT16 rawCenter, UINT16 rawMax, UINT16
calibRange);
Visual Basic: KtpSetJoystickCalibData(ByVal joystickChannel As Integer,
ByVal rawMin As Integer, ByVal rawCenter As Integer,
ByVal rawMax As Integer, ByVal calibRange As Integer);
Description: Calibrates the axis of the joystick.
Arguments: TktpJoystickChannel ch: channel to be calibrated.
UINT16 rawMin: value for smallest raw value
UINT16 ramCenter: average value for raw data
UINT16 rawMax: maximum value of raw data
UINT16 calibRange: maximum range of joystick
Remarks This function may only be called if a joystick is installed on the device. If
no joystick is installed, the value of the components are undefined.
Table 4.25
Declaration:
Visual C: UINT8 KtpGetOverridePoti(/*out*/UINT8 *p_pos);
Visual Basic: KtpGetOverridePoti(ByRef pos As Byte)
Table 4.23
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 49 50

Comentarios a estos manuales

Sin comentarios