beautypg.com

29 operation user controls, 56 api / smbus / touch keypad access appendix, 57 api / smbus / touch keypad access appendix – Hatteland Display 13 inch - HD 13T21 STD (Widescreen) User Manual

Page 29: Can module documentation

background image

29

Operation

User Controls

IND100064-43

Power ON/OFF:

Touching this symbol will either turn on or off the unit. When unit is on (power cable connected), the symbol is

not illuminated until the unit has been turned on once, then symbols will illuminate in white color. When unit is off

(power cable still connected) after it was previously turned on, the symbol is illuminated in white color (you can even

use the (-) and (+) to adjust the intensity of the illuminated symbols when in this state). When no power cable is

connected, no symbols will be illuminated.

This button has extended functionality, please review “API” section below

Buzzer:

The location of the Buzzer is not visible for the eye. Please review the “User Controls - Advanced Usage” section

available on the next page (specifically “Watchdog and ALARM Control” in the linked DOC101681-1 document) on

how to implement the Buzzer in your own applications and systems.

56

API / SMBUS / Touch Keypad Access

Appendix

IND100077-136

57

API / SMBUS / Touch Keypad Access

Appendix

IND100077-136

CAN Module Documentation

Additional documentation is also available for accessing and controlling the CAN module available from Hatteland

Display. Two different options are available with the same functionality.

Internal Factory installed module: HT 00254 OPT-A1

External CAN Module USB: HT 00264 OPT-A1

References:

http://www.hatteland-display.com/pdf/ind_ds/ds_ht00254opt-a1_can_module.pdf

http://www.hatteland-display.com/accessory_ht00264opt-a1.php

DOC101357-1 - HD CAN Module Programmer’s Guide (Windows)

Along with the Hatteland Display external CAN module, a library set is provided for customized development under

Windows environment. It provides the full control of the target CAN module, such as Device Open/Close,

Communication Module Connect/Disconnect, Message Send/Receive and Periodic Message send.

The Library for CAN module is provided in the form of dynamic library (.dll) for Windows. The programmer has to

perform certain settings to make sure it is linked in the project.

http://www.hatteland-display.com/pdf/misc/doc101357-1_hd_can_module_programmer_guide_windows.pdf

DOC101356-1 - HD CAN Module Programmer’s Guide (Linux)

A library set is also provided for customized development under Linux environment. It provides the full control of the

target CAN module, such as Device Open/Close, Communication Module Connect/Disconnect, Message

Send/Receive and Periodic Message send.

The Library for CAN module is provided in the form of dynamic library (.so). The programmer has to perform certain

settings to make sure it is linked in the project.

http://www.hatteland-display.com/pdf/misc/doc101357-1_hd_can_module_programmer_guide_windows.pdf

DOC101779-1 - HD CAN Gateway (GW) Application Note

The CAN Module produced by Hatteland Display is delivered with standard SAE J2534 API [R1]. This document

familiarizes with the API and introduces some examples. Furthermore an example C++ project for Linux OS which

uses the API is provided with this package. The project shows how to initialize CAN device and how to properly

exchange simple messages.

ATTENTION: The example should not be used in a direct form as a base of industrial applications.

The package consists of:

- DOC101779-1 CAN GW Application Note pdf document

- Example application v1.2 (cangw_example.zip).

- Doxygen/HTML based documentation for the example.

http://www.hatteland-display.com/drivers/can_gw_application_note_package.zip

Extended functionality for Brightness (-/+) and Power ON/OFF touch symbols

As referenced in the “User Controls Overview” chapter in this manual, you can access and interpret actual touches

detected on the 3 front symbols (Brightness and Power ON/OFF) through the Touch Screen driver installed for the

unit via its HID interfacing protocol.

Visible Symbol Symbol ID Response Hex ID Default Operation

B1

0x81

Button pressed down detection

0x80

Button press release detection

+ 0x00

Decrease Brilliance / Brightness was detected

B2

0x81

Button pressed down detection

0x80

Button press release detection

+ 0x01

Power ON/OFF was detected

B3

0x81

Button pressed down detection

0x80

Button press release detection

+ 0x02

Increase Brilliance / Brightness was detected

For installation, implementation, usage and example code, review the document via our website:

http://www.hatteland-display.com/pdf/misc/doc101699-1_touch_keypad_access.pdf

and download the drivers package from (includes .dll and demo executable):

http://www.hatteland-display.com/drivers/touch_keypad_package.zip

or download the entire drivers package for MMC units:

http://www.hatteland-display.com/support_hardware_drivers_panel_computers_seriesx.php

or access both document and driver package as described above from:

“Drivers and Documentation DVD” (MEDIA STD-008 or higher) that are included in the shipment contents.

Please review to “Installing API Drivers” section as explained on the previous pages if you are unsure how to fi nd

document and drivers on the DVD media. The fi les you need are found in the “Demo and .dll for Touch Keypad

Access” menu button option.

This manual is related to the following products: