Advantech

TREK-734 - Scale Advantech - Free user manual and instructions

Find the device manual for free TREK-734 Advantech in PDF.

📄 74 pages English EN Download 💬 AI Question
Notice Advantech TREK-734 - page 2
Pick your language and provide your email: we'll send you a specifically translated version.

User questions about TREK-734 Advantech

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your Scale in PDF format for free! Find your manual TREK-734 - Advantech and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. TREK-734 by Advantech.

USER MANUAL TREK-734 Advantech

natural_image Illustration of four electronic circuit boards on a solid orange background, no text or symbols present

TREK-734

RISC All-in-One Heavy duty Mobile Data Terminal

The documentation and the software included with this product are copyrighted 2017 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties, which may result from its use.

Acknowledgements

i.MX6 is trademarks of Freescale NXP.

Android is registered trademarks of Google LLC.

All other product names or trademarks are properties of their respective owners.

Product Warranty (2 years)

Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase.

This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability under the terms of this warranty as a consequence of such events.

Because of Advantech's high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an Advantech product is defective, it will be repaired or replaced at no charge during the warranty period. For out-of-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight. Please consult your dealer for more details.

If you think you have a defective product, follow these steps:

  1. Collect all the information about the problem encountered. (For example, CPU speed, Advantech products used, other hardware and software used, etc.) Note anything abnormal and list any onscreen messages you get when the problem occurs.
  2. Call your dealer and describe the problem. Please have your manual, product, and any helpful information readily available.
  3. If your product is diagnosed as defective, obtain an RMA (return merchandize authorization) number from your dealer. This allows us to process your return more quickly.
  4. Carefully pack the defective product, a fully-completed Repair and Replacement Order Card and a photocopy proof of purchase date (such as your sales receipt) in a shippable container. A product returned without proof of the purchase date is not eligible for warranty service.
  5. Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer.

Part No. Edition 2

Jan. 2018

Declaration of Conformity

CE

This product has passed the CE test for environmental specifications. Test conditions for passing included the equipment being operated within an industrial enclosure. In order to protect the product from being damaged by ESD (Electrostatic Discharge) and EMI leakage, we strongly recommend the use of CE-compliant industrial enclosure products.

FCC Class B

Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:

Reorient or relocate the receiving antenna

Increase the separation between the equipment and receiver.

Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.

Consult the dealer or an experienced radio/TV technician for help.

This device complies with Part 15 FCC Rules.

Operation is subject to the following two conditions.

(1) This device may not cause harmful interference, and
(2) The device must accept any interference received, including interference may cause undesired operation.

FCC Caution:

Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment.

FCC RF Radiation Exposure Statement :

This device meets the government's requirements for exposure to radio waves.

This device is designed and manufactured not to exceed the emission limits for exposure to radio frequency(RF) energy set by the Federal Communications Commission of the U.S. Government.

This device complies with FCC radiation exposure limits set forth for an uncontrolled environment. In order to avoid the possibility of exceeding the FCC radio frequency exposure limits, human proximity to the antenna shall not be less than 20cm (8 inches) during normal operation.

Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.

Technical Support and Assistance

  1. Visit the Advantech web site at http://support.advantech.com where you can find the latest information about the product.
  2. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance. Please have the following information ready before you call:

– Product name and serial number
– Description of your peripheral attachments
– Description of your software (operating system, version, application software, etc.)
— A complete description of the problem
– The exact wording of any error messages

Warnings, Cautions and Notes

Warning! Warnings indicate conditions, which if not observed, can cause personal

Advantech TREK-734 - Warnings, Cautions and Notes - 1

injury!

Caution! Cautions are included to help you avoid damaging hardware or losing data. e.g.

Advantech TREK-734 - Warnings, Cautions and Notes - 2

There is a danger of a new battery exploding if it is incorrectly installed. Do not attempt to recharge, force open, or heat the battery. Replace the battery only with the same or equivalent type recommended by the manufacturer. Discard used batteries according to the manufacturer's instructions.

Note! Notes provide optional additional information.

Advantech TREK-734 - Warnings, Cautions and Notes - 3

Document Feedback

To assist us in making improvements to this manual, we would welcome comments and constructive criticism. Please send all such - in writing to: support@advantech.com

Packing List

Before setting up the system, check that the items listed below are included and in good condition. If any item does not accord with the table, please contact your dealer immediately.

Part numberDescriptionQ`ty
TREK-734CTREK-734 Computer1
1700019031Power cable (2M)1

Ordering Information

P/N Description

TREK-734C-WBADA0ETREK-734 I. MX6 1GB,4GB , Android5.1 WiFi only
TREK-734C-LWBADA1ETREK-734 IMX6,2GB,8GB And.5.1 LTE EU EC-25E Int.
TREK-734C-LWBADB1ETREK-734 IMX6,2GB,8GB And.5.1, LTE NA EC-25A Ext.
TREK-734C-LWBADC0ETREK-734 I. MX6 1GB,4GB , Android5.1, Huawei 909s

Optional Accessories

P/N Description

1760002560-01Backup Baery pack 7.2V 2450mAh 2S1P
TREK-734-IP000IP54-rated I/O Cover
1700026766-01High Density Connector Cable
1750008571-01WLAN/BT external antenna (TNC)
1750008570-01WWAN/GPS external antenna (TNC)

Safety Instructions

  1. Read these safety instructions carefully.
  2. Keep this User Manual for later reference.
  3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning.
  4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible.
  5. Keep this equipment away from humidity.
  6. Put this equipment on a reliable surface during installation. Dropping it or letting it fall may cause damage.
  7. Do not leave this equipment in an environment unconditioned where the storage temperature under -30^ C ( -22^ F) or above 80^ C ( 176^ F), it may damage the equipment. Operating temperature: -20^ C\~ 70^ C without battery.
  8. Do not operate this equipment in an environment temperature may over 70^ C( 158^ F). The surface temperature of plastic chassis may be hot.
  9. Make sure the voltage of the power source is correct before connecting the equipment to the power outlet.
  10. Position the power cord so that people cannot step on it. Do not place anything over the power cord. The voltage and current rating of the cord should be greater than the voltage and current rating marked on the product.
  11. All cautions and warnings on the equipment should be noted.
  12. If the equipment is not used for a long time, disconnect it from the power source to avoid damage by transient overvoltage.
  13. Never pour any liquid into an opening. This may cause fire or electrical shock.
  14. Never open the equipment. For safety reasons, the equipment should be opened only by qualified service personnel.
  15. If one of the following situations arises, get the equipment checked by service personnel:

„ The power cord or plug is damaged.

„ Liquid has penetrated into the equipment.
„ The equipment has been exposed to moisture.
The equipment does not work well, or you cannot get it to work according to the user's manual.
„ The equipment has been dropped and damaged.
„ The equipment has obvious signs of breakage.

  1. CAUTION: The computer is provided with a battery-powered real-time clock circuit. There is a danger of explosion if battery is incorrectly replaced. Replace

only with same or equivalent type recommended by the manufacture. Discard used batteries according to the manufacturers instructions.

  1. This device complies with Part 15 of the FCC rules. Operation is subject to the following two conditions:
    (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  2. CAUTION: Always completely disconnect the power cord from your chassis whenever you work with the hardware. Do not make connections while the power is on. Sensitive electronic components can be damaged by sudden power surges.
  3. CAUTION: Always ground yourself to remove any static charge before touching the motherboard, backplane, or add-on cards. Modern electronic devices are very sensitive to static electric charges. As a safety precaution, use a grounding wrist strap at all times. Place all electronic components on a static-dissipative surface or in a static-shielded bag when they are not in the chassis.
  4. CAUTION: Any unverified component could cause unexpected damage. To ensure the correct installation, please always use the components (ex. screws) provided with the accessory box.

Safety Precaution - Static Electricity

Follow these simple precautions to protect yourself from harm and the products from damage.

To avoid electrical shock, always disconnect the power from your PC chassis before you work on it. Don't touch any components on the mainboard or other cards while the system is on.
„ Disconnect power before making any configuration changes. The sudden rush of power as you connect a jumper or install a card may damage sensitive electronic components.

This product is intended to be supplied by a Listed DC power source, rated 9\~32Vdc, 10A maximum and Tma 55 degree C, if need further assistance with purchasing the DC power source, please contact Advantech for further information.

Warning!

Advantech TREK-734 - Warning! - 1

  1. Input voltage rated: 9 \~ 32 Vdc.
  2. Transport: carry the unit with both hands and handle with care.
  3. Maintenance: to properly maintain and clean the surfaces, use only approved products or clean with a dry applicator.
  4. SD/SIM card: Turn off the power before inserting or removing the storage cards.

Contents

Chapter 1 General Information ....1

1.1 Introduction 2

1.2 General Specifications .... 4

1.3 Dimensions 5

Figure 1.1 TREK-734 dimensions....5

Chapter 2 System Setup ....7

2.1 A Quick Tour of the TREK-734 Computer....8

Figure 2.1 Front view of TREK-734 8

Figure 2.2 Rear view of TREK-734 8

2.2 Installation Procedures....9

2.2.1 Install SIM card & Storage card 9

Table 2.1: Install SIM card & Micro SD Card ......9

2.2.2 Connect Power 9

Figure 2.3 Power connector outlook....9

Table 2.2: Pin Definition of Power Connector.... 10

Figure 2.4 Power connector photo 10

Chapter 3 I/O connectors Pin assignments.....28

3.1 I/O Connectors Pin Assignment....28

3.3.1 Power Connector....28\~29

3.3.2 High Density Connector....30

3.3.2.1 High Density Cable....31

3.3.3 USB Connector....32

3.3.4 Mini USB Connector (Rear side)....32

Chapter 4 Software Demo Utility Setup....34

4.1 MRM SDK Package Contents & Overview....34\~36

4.2 How MRM SDK works....36

4.3 Installation of the MRM SDK....37\~46

4.4 Install Prebuilt Sample Apps....47

4.5 IVCP Demonstration....47

4.5.1 Firmware....47

4.5.2 Power Management....47 \~ 49

4.5.3 Battery....51

4.5.4 Alarm....51

4.5.5 Watchdog....52

4.5.6 Digital IO....53

4.5.7 Peripheral Control....53

4.5.8 Storage....54

4.5.9 G Sensor....55

4.5.10 G Sensor Alarm....55

4.5.11 P Sensor....56

4.5.12 Hotkey....56\~57

4.6 VCIL Demonstration....57

4.6.1 CAN....58\~59

4.6.2 CAN Filter....60

4.6.3 J1939....60

4.6.4 J1939 Config....61

4.6.5 J1939 Filter....62

4.6.6 OBD2....63

4.6.7 OBD2 Filter....65

4.6.8 J1708....66

4.6.9 J1708 Filter....67

4.6.10 J1587....68

4.6.11 J1587 Filter....68

Appendix A Peripheral Installaon....70

A-1 Installing the Backup Battery....70\~74

A-2 Installing the RAM mount kit....74

A-3 Installing the IP54 I/O cover....75\~77

A-4 Installing the HDC cable 78\~79

Chapter 1

General Information

This chapter gives background information on the TREK-734 Computer

Sections include:

Introduction

„ General Specifications

„ Dimensions

1.1 Introduction

TREK-734 is a RISC-based open plaorm all-in-one light-duty mobile data terminal equipped with an 8" display, Freescale ARM® Cortex™-A9 i.MX 6 Dual lite processor, Android 5.1 OS, 2GB memory and LTE networking capabilities to enable high performance compung for eet management applicaons. LTE capabilities transform the terminal into a wireless network hub that supports WiFi, BT, and GPS communicaon to facilitate locaon tracking and route opmizaon. The built-in backup baery ensures an uninterruptable power supply by providing up to 30 minutes of emergency power in the event of a power failure. Cered to MIL-STD-810G standards for vibraon tolerance. Moreover, three external antenna ports are provided for enhanced network communicaon in order to eecvely support crical outdoor applicaons.

1.2 General Specifications

Features

  • Freescale ARM® Cortex™-A9 i.MX 6 Dual lite processor with Android 5.1.
    ● Rich I/O connectors designed on top of rear side for easy system integraon.
    ● 2 front side speakers make volume louder in real applicaon environment.
    ● Built-in LTE/GNSS/WiFi/BT for data communicaon.
    ● Advanced Shock & an-vibraon cered by MIL-STD-810G.
    ● Advanced Android SDK, test utility for customer evaluang.

Specifications

SystemProcessorFreescale ARM® CortexTM-A9 i.MX 6DualLite (1 GHz)
Memory1 GB DDR3 (supports up to 2 GB)
Storage4 GB onboard eMMC (supports up to 8 GB)1 x Micro SD slot (externally accessible)
WatchdogYes
RTCYes
O.SAndroid 5.1.1
RFWiFiIEEE 802.11 b/g/n
BluetoothBluetooth V4.0
GNSSu-blox MAX-M8Q (GPS, BD, GLONASS, Galileo)
WWANLTE, HSPA+, GSM/GPRS/EDGE, WCDMA
Voice callN/A
Wake-on-WWANN/A
SIM1 SIM slot
External Antenna1 x WLAN, 1 x WWAN, 1 x GPS (TNC type)
DisplaySize/Type8" (16:10) TFT LCD
Max. Resoluon1024 x 600
Brightness (cd/m2)750 nits
Viewing Angle (R/L/B/T)70/80/80/80
Backlight Life20,000 hrs
TouchscreenCapacive (mul-touch)
Brightness ControlLight sensor for automac dimming
Funcon Key5 x programmable funcon keys with green LED backlight
I/OI/O Port(via high-density connector)1 x CAN bus (supports raw CAN, J1939, OBD-II/ISO 15765) (via high-density connector)
Generic I/O Port(via high-density connector)4 x Isolated DI/2 x DO1 x 4-wire RS-232, 1 x 2-wire RS-2321 x CVBS-In1 x Mic-In1 x Line-In (R & L)1 x Line-Out (R & L)1 x USB2.0 Type A host
Standard I/O Port1 x USB 2.0 host @ R; mini USB debugging (5 pin)1 x USB 2.0 client @ R; USB type A host (4 pin)
Indicator1x LED (Power)
PowerPower BuonYes
ResetYes
Input Voltage9-32V DC
Backup Baery(Oponal)7.2 V 2450 mAh 2S1P
MechanicalDimensions (W x H x D)250 x 175 x 95 mm (9.84 x 6.88 x 3.74") with IP-rated I/O cover250 x 175 x 47 mm (9.84 x 6.88 x 1.85")
Weight1.3 kg (2.86 lb)
EnvironmentIP RangIP54
RegulaonE-Mark, ISO 7637-2, SAE J1455, SAE J1113
EMCCE,FCC
SafetyUL/cUL, CB, CCC
Operang Temperature-20°C ~ 70°C (-4°F ~ 158°F) without backup baery
Storage Temperature-30°C ~ 80°C (-22°F ~ 176°F) without baery
Shock/VibraonMIL-STD-810G, SAE J1455

1.3 Dimensions

Advantech TREK-734 - Dimensions - 1

text_image 255 V.A (177.2 x 100.4) 175

Advantech TREK-734 - Dimensions - 2

text_image 95 47 36

Advantech TREK-734 - Dimensions - 3

text_image 117.67 45.77

Figure 1.1 TREK-734 dimensions

Chapter 2

System Setup

This chapter details system setup on TREK-734

Sections include:

A Quick Tour of the Computer Box
Installation Procedures

2.1 A Quick Tour of the TREK-734 Computer

Before starting to set up TREK-734, take a moment to become familiar with the locations and functions of the connectors and ports, which are illustrated in the figures below.

Advantech TREK-734 - A Quick Tour of the TREK-734 Computer - 1

text_image Mic-In Light sensor Power LED Speakers

Figure 2.1 Front view of TREK-734

Advantech TREK-734 - A Quick Tour of the TREK-734 Computer - 2

text_image WWAN Backup battery High-density connector Power button Power input GPS BT/WLAN RAM mount base USB IP54-rated I/O cover Enclosed I/O • SIM slot • Micro SD slot • Mini USB port • Reset key

Figure 2.2 Rear view of TREK-734

2.2 Installation Procedures

2.2.1 Installing SIM car & Storage card

Remove enclosed I/O door screw and can install SIM Card & Micro SD card directly.

  1. Remove side I/O door

Advantech TREK-734 - Installing SIM car & Storage card - 1

natural_image Close-up of a hand pressing a metallic mechanical component with a small screw (no visible text or symbols)
  1. Install SIM card or Micro SD card

Advantech TREK-734 - Installing SIM car & Storage card - 2

natural_image Interior view of a device showing a rear panel with a green card and USB port, no visible text or symbols on the main body.

Figure 2.3 Installing SIM card & Storage card

2.2.2 Connecting Power

Connect the three pin waterproof power cord to the DC inlet of the Computing Box. On the open-wire end, one pin is reserved for positive voltage and is marked, "+"; one pin is reserved for ground and is marked, "-"; and, one pin is reserved for the ignition signal with an "ignition" mark.

Note!

Ignition on/off setting: The TREK-734 supports an ignition on/off function so that you can power on/off the TREK-734 via the ignition signal/voltage and connect the TREK-734 ignition switch.

Table 2.1: Pin Definition of Power Cord

PinDefinitionColor
1-Black
2+Red
3IgnitionOrange

2.2.2 Power Connector

Advantech TREK-734 - Power Connector - 1

text_image 1 2 3

Figure 2.6 Power connector outlook

Table 2.2: Power connector

PinSignalPinSignal
1Ground2Power input(9~32VDC)
3Acc ignition input

Chapter 3

I/O Connectors

This chapter explains how to set up the Computing Box hardware, including instructions on setting. Sections include:

■ I/O connectors pin assignment

3.1 I/O Connectors Pin Assignment

3.3.1 Power connector

Advantech TREK-734 - Power connector - 1

text_image 1 2 3

Table 3.1: Power connector

PinSignalPinSignal
1Ground2Power input(9~32VDC)
3Acc ignition input

3.3.1.1 Power in Jack Cable

Advantech TREK-734 - Power in Jack Cable - 1

natural_image Coiled black and red electrical wires with connectors, no visible text or symbols

PIN Signal Depiction

1 Power Ground
2 Power Input (9 \~ 32 VDC)
3 Acc Ignition Input Shield Ground

Fuse Spec: 58V/10A*1

Cable /Label

Advantech TREK-734 - PIN Signal Depiction - 1

3.3.2 High Density Connector

1 GND 19 GND_CODEC
2 RS232 RTS1 HD 20 MIC_IN1
3 RS232 CTS1 HD 21 LINE_IN_P
4 RS232 TX1 HD 22 LINE_IN_N
5 RS232_RX1_HD 23 LINE_OUT_R
6 RS232_TX2_HD 24 LINE_OUT_L
7 RS232_RX2_HD 25 ISO_DO_DRAIN1
8 RS-232_DCD2_HD 26 ISO_DO_DRAIN2
9 CVBS_HD 27 ISO_DI_1
10 GND 28 ISO_DI_2
11 USB_HD_DP_H 29 ISO_DI_3
12 USB_HD_DN_H 30 ISO_DI_4

13GND31ISO_DI_5
14+V5_HD_USB32ISO_DI_6
15GND33ISO_GND
16GND34GND
17+12V_HD_HD135CAN_H_R
18+12V_HD_HD136CAN_L_R

3.3.2.1 High density cable

Advantech TREK-734 - High density cable - 1

36Pin connector cable pin dene

Pin numberPin name
1GND_RS12
2RS232_RTS1_HD
3RS232_CTS1_HD
4RS232_TX1_HD
5RS232_RX1_HD
6RS232_TX2_HD
7RS232_RX2_HD
8RS-232_DCD2_HD
9CVBS_HD
10GND_CVBS
11USB_HD_DP_H
12USB_HD_DN_H
13GND_USB
14+V5_HD_USB
15GND_12V
16GND_12V
17+12V_HD_HD1
18+12V_HD_HD1
19GND_CODEC
20MIC_IN1
21LINE_IN_P
22LINE_IN_N
23LINE_OUT_R
24LINE_OUT_L
25ISO_DO_DRAIN1
26ISO_DO_DRAIN2
27ISO_DI_1
28ISO_DI_2
29ISO_DI_3
30ISO_DI_4
31ISO_DI_5
32ISO_DI_6
33ISO_GND
34GND_CAN
35CAN_H_R
36CAN_L_R

High Density Cable Layout
Advantech TREK-734 - High density cable - 2

flowchart
graph TD
    A["HD cable"] --> B["USB"]
    A --> C["RS-232/485"]
    A --> D["RS-232"]
    A --> E["CVBS"]
    A --> F["Power Supply"]
    A --> G["ISO DI/DO"]
    A --> H["CAN Bus"]
    A --> I["MIC In"]
    A --> J["Line In"]
    A --> K["Line Out"]

3.3.3 USB Connector

Table 3. : USB Connector

PinSignal Depiction
1Vcc
2USB_Data-
3USB_Data+
4GND

Chapter 4

Software Demo Utility Setup

This chapter explains the software demo utility for TREK-734

Sections include:

„Introduction

„ How to Set up Demo Utility

4.1 MRM SDK Package Contents & Overview

Advantech has developed demo utilities based on Advantech provided SDK APIs to let user test the functions on TREK-734. This document describes the usage of each demo utilities and also provide a basic concept of the application development on TREK-734.

For technical support, contact Advantech application engineers worldwide. For news updates, please visit our website : www.advantech.com and MRM forum :

http://mrmforum.advantech.com/index.aspx

The MRM SDK package contains the following contents:

Advantech TREK-734 - MRM SDK Package Contents & Overview - 1

text_image bin libs prebuilt_sample service doc samples

The description of each of the folder at the top level is listed below:

Files/DirectoriesDescription
bin/library/The Java library and native library files. These libraries should be imported in to your APP project.
bin/service/The MRM service APK file. The service APK file must be installed into your device before running your APP or prebuilt sample APPs.
bin/prebuilt_sample/The prebuilt APK files of sample codes.
docThe Documents.
samplesThe sample code.

The MRM (Mobile Resource Management) SDK is a set of software libraries which provides APIs for controlling various functions of the target device.

The following figure describes the software stack of MRM SDK:

Advantech TREK-734 - MRM SDK Package Contents & Overview - 2

flowchart
graph TD
    A["Application"] --> B["IVCP"]
    A --> C["SDP"]
    A --> D["VCIL"]
    B --> E["IVCP SERVICE"]
    C --> F["SDP SERVICE"]
    D --> G["VCIL"]
    E --> H["OS / Device Drivers"]
    F --> I["OS / Device Drivers"]
    style A fill:#f9f,stroke:#333
    style B fill:#ccf,stroke:#333
    style C fill:#cfc,stroke:#333
    style D fill:#fcc,stroke:#333

4 MRM SDK is composed of the following function domains:

• IVCP (Intelligent Vehicle Co-Processor)

A VPM(Vehicle Power Management) MCU(Micro Controller Unit) is embedded in the device, which controls the power status of device and peripheral devices such as G-Sensor and P-Sensors.

The IVCP function domain is designed in client-service architecture. The IVCP Service acts as a proxy to access the VPM MCU and is able to serve multiple APP processes simultaneously. In your APP, you can use the IVCP APIs exported in the MRM Client APIs Library to communicate with the IVCP service.

IVCP Service Client API Modules:

  • Firmware APIs - Get VPM MCU firmware version. Save/Load default settings
    Power Management APIs - VPM related functions. ex: boot control, Ignition control, event delay adjustments, low battery protection and etc.
    ○ Battery APIs - Backup battery related information and functions
  • Alarm APIs - Internal RTC time setting and device alarm wakeup related functions.
    ○ Watchdog APIs - Watch dog functions.
  • Peripheral Control APIs - Power status management of peripheral devices.
    ○ Storage APIs - Internal EEPROM storage access.
  • G Sensor APIs - Access G sensor data. G sensor related settings.
  • G Sensor Alarm APIs - G sensor device wakeup functions.
  • P Sensor APIs - Access P sensor data.

• SDP (Smart Display Panel)

Depends on the specific device spec, the device may bundle with a smart display panel module. The smart display panel module is embedded with a MCU to control functions of the module. Similar with IVCP function domain, the SDP function domain is also designed in client-service architecture. You can use the SDP APIs exported in the MRM Client APIs Library to communicate with the SDP service.

SDP Service Client API Modules:

  • Firmware APIs - Get SDP MCU firmware version. Save/Load default settings
  • Backlight APIs - Configure brightness of smart display.
  • Sensor APIs - Access sensor on smart display
    ○ Hotkey APIs - hotkeys related settings.
  • Speaker API - Speaker related settings
    ○ USB API - USB port related settings

• VCIL (Vehicle Communication Interface Layer)

A VCIM(Vehicle Communication Interface Module) MCU is embedded in the device for controlling the vehicle communication protocols (e.g. CAN, J1939, OBD2, J1708, J1587). For the performance considerations, the VCIL function domain is designed in form of libraries, You can use the VCIL APIs exported in the VCIL API Library to control the MCU directly. For VCIL does not have service layer, the VCIL API Library does NOT support multi-process access.

VCIL API Modules:

  • VCIL APIs - Get VCIL MCU firmware version. Physical port protocol settings.
  • CAN APIs - Read / write data with CAN protocol.
  • J1939 APIs - Read / write data with J1939 protocol.
  • OBD2 APIs - Read / write data with OBD2 protocol.
  • J1708 APIs - Read / write data with J1708 protocol.
  • J1587 APIs - Read / write data with J1587 protocol.

4.2 How MRM SDK Works

IVCP and SDP functions in the MRM SDK for Android is designed in client-service architecture.

To make your APP work with the MRM services to control the device you must first include the Service Client API library into you APP project. Before calling APIs to control the device, you must first "bind" you APP process to the MRM service processes. After binding is done, you can then call the IVCP, SDP APIs to communicate with the services. The MRM services act as

proxies for client APP to access the hardware functions.

Due to the nature of client-service structure, the MRM SDK for Android supports multi-processes access. It is available for the services to serve multiple application processes at the same time. The hardware resources are managed by the services and the client application does not need to worry about hardware resource occupation.

Advantech TREK-734 - How MRM SDK Works - 1

flowchart
graph LR
    A["Client APP"] -->|1. Bind service| B["MRM Services"]
    A -->|2. Call SDK APIs (RPC)| B
    B -->|3. Access| C["Device"]
    D["MrmServiceClientAPI.jar"] --> A
    E["Service Client API Library"] --> A
    F["mrm_service.apk"] --> B
    G["IVCP Service"] --> B
    H["SDP Service"] --> B

VCIL functions in the MRM SDK for Android is designed in form of libraries.

Before calling APIs to control the device, you must first call the initialization API to make the VCIM MCU ready to work. After initialization is done, you can then call the VCIL APIs to do operations of vehicle protocols.

Advantech TREK-734 - How MRM SDK Works - 2

flowchart
graph LR
    A["Client APP"] -->|1. Initialize| B["Device"]
    A -->|2. Call SDK APIs| B
    A --> C["MrmServiceClientAPI.jar"]
    C --> D["VCIL API Library"]

4.3 Installation of the MRM SDK

You can install SDK(MRM Services) to your device by follow the steps below

1. Unzip the SDK package

Extract the SDK package zip file with password.

The password is same as the filename.

2. Install MRM Services (mrm\_service.apk)

( NOTE: This step is only necessary for IVCP and SDP function. You can skip this step if you only need VCIL functions )

Connect device to you computer with ADB.

Execute the script install_mrm_service.bat in [SDK_Pacakge]/bin/

The script will execute the following ADB command:

adb install -r .\mrm_service.apk

After installed, you will get the following package in your devices

Advantech TREK-734 - Install MRM Services (mrm\_service.apk) - 1

text_image Apps DOWNLOADED RUNNING MRM Services 2.80MB Internal storage 529MB used 5.8GB free

There will also be an MRM Service Console APP named "MRM" in the APP list. This is a utility for testing MRM Services and checking the basic information.

Advantech TREK-734 - Install MRM Services (mrm\_service.apk) - 2

natural_image Green Android robot logo with 'MRM' text below (no additional symbols or text)
MRM Control Panel
SDK INFORMATION
MRM SDK ver.4.0.1.0
SYSTEM INFORMATION
OS image ver.dmsst05_6dq-eng 4.4.2 1.0.0-rc3 eng.root.20150925.152917 dev-keys
VPM FW ver.000.091
MRM SERVICE STATUS
IVCP ServiceRUNNING(PID = 14889)

When MRM is launched, it will try to bind all MRM services. The MRM Services will be started and initialize related hardware resources.

If initialization failed, you can get message with error code in the notification area (drag down from left top of screen).

Advantech TREK-734 - Install MRM Services (mrm\_service.apk) - 3

text_image Google 12:39 Call App

Advantech TREK-734 - Install MRM Services (mrm\_service.apk) - 4

text_image 12:40 FRL JANUARY 2 IVCPService init failed. IVCP( 0x00000063 ), 12:39 AM USB debugging connected Touch to disable USB debugging. Connected as a media device Touch for other USB options.

In the MRM, the service status will should be shown with the service process ID. The status will be one of the followings:

○ RUNNING

■ Service process is working correctly.

ex:

IVCP Service

RUNNING (PID = 3215)

○ NOT\_INITIALIZED

■ Service process exists but the hardware resources can not be initialized. In this status, the IVCP APIs can not work properly.
- You can find the error code message in the notification area.

ex:

IVCP Service

NOT_INITIALIZED (PID = 4305)

- UNKNOWN

■ Service process exists but the initialization status can not be confirmed.
- The error code will be also shown. (For the definition of error codes, please refer to the IVCP, VCIL, SDP User Manual)

ex:

IVCP Service

UNKNOWN (ERR-0x10200005) (PID = 5290)

- STOP

■ Service process does not exist.

ex:

IVCP Service

STOP

3. Import MRM Service Client APIs Library

( NOTE: This step is only necessary for IVCP and SDP function. You can skip this step if you only need VCIL functions )

To access MRM Service from your APP, you must import the MRM Service Client API lib into you project.

Please find the MrmServiceClientAPI.jar and MrmDef.jar in the MRM SDK package. Copy the libraries to the directory /[Module Name]/libs/ in you Android Studio project (the default module name might be "app").

Advantech TREK-734 - Import MRM Service Client APIs Library - 1

text_image Project IVCPSample D:\SVN_space\SDK_V4\ .Gradle .idea .app build libs MrmDef.jar MrmServiceClientAPLjar src .gitignore app.iml build.gradle proguard-rules.pro build

Then import the libraries by following the steps below:

- Right click on you APP module. Click "Open module settings"

Advantech TREK-734 - Import MRM Service Client APIs Library - 2

text_image IVCPSample (D:\SVN_space\SDK_V4\trunk\sample\vcp\ .Gradle .idea .app build libs MrmDef.jar MrmServiceClie src .gitignore app.iml build.gradle proguard-rules.prc build gradle out .gitignore build.gradle gradle.properties gradlew gradlew.bat IVCPSample.iml local.properties settings.gradle External Libraries Find Usages of mHandler in Project Value read (19) app (19) com. Open Module Settings Create Gist... MainActivity.java (11 usages) New Cut Ctrl+X Copy Ctrl+C Copy Path Ctrl+Shift+C Copy as Plain Text Copy Reference Ctrl+Alt+Shift+C Paste Ctrl+V Find Usages Alt+F7 Find in Path... Ctrl+Shift+F Replace in Path... Ctrl+Shift+R Analyze Refactor Add to Favorites Show Image Thumbnails Ctrl+Shift+T Reformat Code... Ctrl+Alt+L Optimize Imports... Ctrl+Alt+O Make Module 'app' Ctrl+Shift+F9 Create 'All Tests'... Run 'All Tests' Ctrl+Shift+F10 Debug 'All Tests' Local History Subversion Synchronize 'app' Show in Explorer File Path Ctrl+Alt+F12 Compare With... Ctrl+D Open Module Settings F4

- Click the "Dependency" tab. Then click "+" -> "File dependency"

Advantech TREK-734 - - Click the "Dependency" tab. Then click "+" -> "File dependency" - 1

text_image Project Structure + - Properties Signing Flavors Build Types Dependencies SDK Location Project Developer Services Ads Analytics Authentication Notifications Modules app Scope [include=[*jor], dir=1lbs] m com.android.support.appcompat-v7:22.0.0 Compile Compile OK Cancel m 1 Library dependency 2 File dependency 3 Module dependency

- Select the lib file.

Advantech TREK-734 - - Select the lib file. - 1

text_image Select Path mple\ivcp\android\IVCPSample\app\libs\MrmServiceClientAPLjar build libs MrmDef.jar MrmServiceClientAPLjar src Drag and drop a file into the space above to quickly locate it in the tree. OK Cancel Help

- Repeat the above steps to add all libs and you will see all libs are added to the list.

Advantech TREK-734 - - Select the lib file. - 2

text_image Project Structure + - Properties Signing Flavors Build Types Dependencies SDK Location Project Developer Services Ads Analytics Authentication Notifications Modules app {include=[*.jar], dir=libs} m com.android.support.appcompat-v7:22.0.0 Libs/MmmServiceClientAFLjar Libs/MmmDef.jar Scope Compile Compile Compile Compile OK Cancel

1. Import VCIL APIs Library

( NOTE: This step is only necessary for VCIL functions )

To access VCIL functions from your APP, you must import the VCIL libraries into your project.

Please find the MrmJni.jar, MrmDef.jar and jniLibs/ folder in the MRM SDK package.

Copy the MrmJni.jar, MrmDef.jar to the directory /[Module Name]/libs/ in your Android Studio project (the default module name might be "app") and copy the jniLibs/ folder to the directory /[Module Name]/src/main/.

Advantech TREK-734 - Import VCIL APIs Library - 1

text_image VCILSample D:\SVN_space\SDK_V4\tr .gradle .idea app build libs MrmDef.jar MrmJni.jar src androidTest DMSST05 main java jniLibs res AndroidManifest.xml

Then import the Java libraries by following the steps below:

- Right click on you APP module. Click "Open module settings"

Advantech TREK-734 - Import VCIL APIs Library - 2

text_image VCILSample D:\SVN_space\SDK_V4\trunk\sample\vcil\android\VCILSam .gradle .idea app build libs MrmDef.jar MrmJni.jar src .gitignore app.iml build.gradle proguard-rules.pro build gradle .gitignore build.gradle gradle.properties gradlew gradlew.bat local.properties settings.gradle VCILSample.iml External Libraries New Link C++ Project with Gradle Cut Ctrl+X Copy Ctrl+C Copy Path Ctrl+Shift+C Copy as Plain Text Copy Reference Ctrl+Alt+Shift+C Paste Ctrl+V Find Usages Alt+F7 Find in Path... Ctrl+Shift+F Replace in Path... Ctrl+Shift+R Analyze Refactor Add to Favorites Show Image Thumbnails Ctrl+Shift+T Reformat Code Ctrl+Alt+L Optimize Imports Ctrl+Alt+O Run 'All Tests' Ctrl+Shift+F10 Debug 'All Tests' Run 'All Tests' with Coverage Create 'All Tests'... Local History Subversion Synchronize 'app' Show in Explorer File Path Ctrl+Alt+F12 Compare With... Ctrl+D Open Module Settings F4 Create Gist...

- Click the "Dependency" tab. Then click "+" -> "File dependency"

Advantech TREK-734 - Import VCIL APIs Library - 3

text_image Project Structure + - Properties Signing Flavors Build Types Dependencies SDK Location Project Developer Services Ads Authentication Notifications Modules app {include=[*jar], dir=libs} m junit:junit:4.12 m com.android.support.appcompat-v7:22.2.1 Scope Compile Test compile Compile m 1 Library dependency 2 File dependency 3 Module dependency

- Select the lib file.

Advantech TREK-734 - - Select the lib file. - 1

text_image Select Path Hide path _V4\trunk\sample\vcil\android\VCILSample\app\libs\MrmDef.jar ► build ► libs MrmDef.jar MrmJni.jar ► src Drag and drop a file into the space above to quickly locate it in the tree OK Cancel Help

- Repeat the above steps to add all libs and you will see all libs are added to the list.

Advantech TREK-734 - - Repeat the above steps to add all libs and you will see all libs are added to the list. - 1

text_image Project Structure + - Properties Signing Flavors Build Types Dependencies SDK Location Project Developer Services Ads Authentication Notifications Modules app {include=[*.jar], dir=libs} m junit:junit:4.12 m com.android.support:appcompat-v7:22.2.1 libs/MrmDef.jar libs/MrmJni.jar Scope Compile Test compile Compile Compile Compile

4.4 Install Prebuilt Sample Apps

The prebuilt sample is placed in [SDK_Pacakge]/bin/samples/.

Execute the script install_sample_apps.bat to install to your device.

The script will execute the following ADB command:

adb install -r .\IVCPSample.apk

adb install -r .\SDPSample.apk

adb install -r .\VCILSample.apk

Please note that you must install the MRM Services (mrm_service.apk) fist or the sample APPs will not work

4.5 IVCP Demonstration

The IVCP demonstraon applicaon demonstrate the usage of MRM IVCP API which is a lightweight interface between OS (Operang system) and IVCP (Intelligent Co-Processor) allow user to access the status of machine and change machine behavior such as power management, boot behavior, peripheral control etc.

4.5.1 Information

In this page, the demo applicaon shows the current status and basic informaon.

Advantech TREK-734 - Information - 1

text_image MRM IVCP DEMO
IVCP Demo
Platform Name: TREK 734-A01MRM SDKver: 4.0 1.0 Serial Number:
FirmwareSpeed Counter
Power ManagementStorage
BatteryG Sensor
AlarmG Sensor Alarm
Watch DogP Sensor
Digital IOHotkey
Peripheral ControlIgnition Log

4.5.1 Firmware

This page demonstrates the Firmware APIs.

To save/load the default settings of VPM firmware, you can press the corresponding "EXECUTE" button.

Firmware Demo
VPM Firmware Ver.001.000
VPM Save Default SettingSave OKEXECUTE
VPM Load Default SettingLoad OKEXECUTE

4.5.2 Power Management

This page demonstrates the Power Management APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

- Power Control

o VPM trigger power off event

- Power & Battery

o Get/Set power mode and show Power & Battery status

- Ignition

o Show ignition status and Control ignition wakeup.

- Low Voltage Protection

o Control preboot/postboot low voltage protection and get/set preboot or postboot LVP threshold. It also can reset low voltage protection to default value and get default range.

NOTE:

The Postboot LVP Threshold voltage must less than or equal to Preboot LVP Threshold voltage.

- Event Delay

o Low Voltage Event Delay:

The delay time before VPM trigger a power off event (i.e. power button press).

o Low Voltage Event Hard Delay:

The delay time counted down after a power off event is triggered. VPM will force power off the machine if the hard delay time is counted down to zero.

o Ignition Event On Delay:

The delay time before VPM trigger an power on event (power on the machine).

o Ignition Event Off Delay:

The delay time before VPM trigger an power off event (i.e. power button/Ignition off press).

o Ignition Event Hard Off Delay:

The delay time counted after an power off event is triggered. VPM will force power off the machine if the hard delay time is counted down to zero.

. VPM Mode

o Control Keep Alive and AT mode.

- Force Shutdown

o Control force shutdown and get/set force shutdown delay.

- Wakeup Source

o Show last wakeup source.

Power Management Demo
POWER CONTROL

Power OffN/AEXECUTE

POWER & BATTERY

Power Mode12VGETSET 12VSET 24V
Power StatusONVoltage(V)18.417286
Battery StatusOFFVoltage(mV)0Aug. Date (mA)0

IGNITION

Ignition StatusON
Ignition WakeupENABLEENABLEDISABLE

LOW VOLTAGE PROTECTION

LVP RangeMin:10.10, Max:12.25, Default:11.43GET
Preboot LVP StatusDISABLEENABLEDISABLE
Preboot LVP ThresholdVoltage : 11.427966GETSET
Postboot LVP StatusDISABLEENABLEDISABLE
Postboot LVP ThresholdVoltage : 11.427966GETSET
LVP Reset ThresholdN/ARESET

EVENT DELAY

Event DelayType: IGNITION_OFFsec.: 5GETSET

VPM MODE

Keep Alive ModeENABLEENABLEDISABLE
AT ModeDISABLEENABLEDISABLE

SHUTDOWN SOURCE

IgnitionENABLEENABLEDISABLE
Power ButtonUNSUPPORT OPERATIONENABLEDISABLE
FORCE SHUTDOWN
Force ShutdownDISABLEENABLEDISABLE
Force Shutdown Delaydec.: 600GETSET
Wakeup Source
Last Wakeup SourceIVCP_WAKEUP_TYPE_KEEP_ALIVE_MODE(10)

4.5.3 Battery

This page demonstrates the Battery APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

You can adjust the battery setting of VPM in this page.

Advantech TREK-734 - Battery - 1

text_image Battery Demo Power Status ON Voltage(V) 18.448782 Battery Status ON Voltage(mV) 7879 Avg. Curr.(mA) -2 Battery Temperature 27.85 °C Time To Empty 65535 min. State Of Charge 100 % Charge Threshold Volatage : 11.503914 GET SET

4.5.4 Alarm

This page demonstrates the Alarm APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

You can adjust the RTC time and device alarm wakeup setting of VPM in this page.

Advantech TREK-734 - Alarm - 1

text_image Alarm Demo REAL TIME Real Time 2016/06/13(1) 17:53:19 Real Time Setting Get OK 2016 / 06 / 13 (1) 17 : 51 : 27 _/_/_/_/ _/_/_/_/ _/_/_/_/ ALARM WAKEUP Alarm Wakeup Status DISABLE ENABLE DISABLE

4.5.5 Watchdog

This page demonstrates the Watchdog APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

When the "enable" is pressed, the watch dog will start count down and the count will be updated to the "watchdog count" row.

You can press "trigger" button to reset the count or press "disable" button to stop watch dog.

Watchdog Demo
Watchdog StatusN/AENABLEDISABLE
Watchdog Time Settingseconds: 100GETSET
Watchdog Count0TRIGGER

4.5.6 Digital IO

This page demonstrates the Digital IO APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

In the row of "DI Status", the status of each DI pins will be updated periodically to corresponding check boxes.

In the row of "DI Type", you can adjust the wet/dry contact for all DI pin. In the row of "DI Pin Type", you can adjust the wet/dry contact for specify DI pin.

Digital IO Demo
DI Wakeup Status checked = ENABLE checked = DISABLEGet OK Unsupported DI: DI5, DI6, □ DI 1 □ DI 2 □ DI 3 □ DI 4 □ DI 5 □ DI 6GET SET
DI Number6
DI Status checked = HIGH checked = LOWGet OK Unsupported DI: ✓ DI 1 ✓ DI 2 ✓ DI 3 ✓ DI 4 ✓ DI 5 ✓ DI 6
DO number2
DO StatusGet OK Unsupported DO: DO3, DO4, DO5, DO6, □ DO 1 □ DO 2 □ DO 3 □ DO 4 □ DO 5 □ DO 6GET SET
DI TypeIVCP_DIO_INPUT_TYPE_WET_CONTACTGET SET
DI Pin TypeDI 1 IVCP_DIO_INPUT_TYPE_WET_CONTACTGET SET
Reference VoltageVoltage : 0.9997496GET SET

4.5.7 Peripheral Control

This page demonstrates the Peripheral Control APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to

do corresponding demo actions.

Peripheral Control Demo
Peripheral Control Available StatusType ID: IVCP_PERIPHERAL_WWAN_POWE RStatus: AVAILABLE
Peripheral Control Power StatusType ID: IVCP_PERIPHERAL_PID_WWANStatus: ONONOFF
WWAN Wakeup StatusDISABLEENABLEDISABLE
Rear View Setting NOTE: Screen will be automatically switched back to MAIN after 5 sec.IVCP_PERIPHERAL_RID_MAINGETSET

4.5.8 Storage

This page demonstrates the Storage APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

The "data" column in each row is represented in HEX string. To write data, you should input the data in HEX string format. For example, to write 2 bytes data - "DD" and "EE" - to the storage, you must input "DDEE" to the data column.

Storate Demo
EEPROM Size256
Access Single ByteAddr: 00 Data: Single byte data in hex value. ex: DD READ WRITE
Access Multiple BytesStart Addr: 00 Size: 10 Data: Multiple bytes data in hex value. ex: DDEE READ WRITE
Accessed Size:

4.5.9 G Sensor

This page demonstrates the G Sensor APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

The G sensor status is updated periodically in the G sensor data row.

In the row of "G Sensor Offset", you can get/set the G Sensor Offset. Click "Reset" button to reset G Sensor Offset to default (x=0,y=0,z=0).

In the row of "G Sensor Calibration", the G sensor calibration should be decided by orientation to gravity. In the front, G sensor data will be x=0, y=0, z=1000 (mg). In the back, G sensor data will be x=0, y=0, z=-1000(mg)

G Sensor Demo
G Sensor AvailabilityAVAILABLE
G Sensor StatusENABLEENABLEDISABLE
G Sensor Resolution16GGETSET
G Sensor Datax = -26, y = -58, z = -952
G Sensor Wakeup StatusDISABLEENABLEDISABLE
Wakeup ThresholdValue(mg) : 1000GETSET
G Sensor Offset (wE/mg)x:0 y:0 z:0GETSET
RESET
G Sensor CalibrationOrientation to Gravity(For Calibration): FrontCALIBRATION

4.5.10 G Sensor Alarm

This page demonstrates the G Sensor Alarm APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

When G sensor alarm is enabled. The G sensor alarm data will be updated to the row "alarm data"

G Sensor Alarm Demo
Alarm Function StatusENABLEENABLEDISABLE
Alarm ThresholdValue(mg): 2000GETSET
Alarm DataEVENT MODE ALARM HISTORY 2016-06-13 10:17:59.701 - x = 531, y = 1305, z = 2219 2016-06-13 10:17:59.349 - x = 422, y = 1180, z = 1094 2016-06-13 10:17:59.348 - x = -1569, y = 758, z = -124 2016-06-13 10:17:59.348 - x = -476, y = 750, z = -882 2016-06-13 10:17:59.308 - x = 383, y = -562, z = -2319 2016-06-13 10:17:58.550 - x = 648, y = -312, z = -968 2016-06-13 10:17:58.517 - x = -3593, y = -3538, z = -1812POLLING MODEEVENT MODE

4.5.11 P Sensor

This page demonstrates the P Sensor APIs.

Each row shows demonstration different APIs. You can press the buttons at the right side to do corresponding demo actions.

The P sensor status is updated periodically in the pressure row.

P Sensor Demo
P Sensor AvailabilityAVAILABLE
P Sensor StatusENABLEENABLEDISABLE
Pressure1002

4.5.12 Hot Key

This page demonstrates the Hotkey APIs.

In the "Hoy Key Setting" row, you can set the keycode of corresponding function key on the device. The keycode list will show the common keycode for easy setting.

In the "Hoy Key Brightness" row, you can set the brightness of LED back light of the function keys.

Advantech TREK-734 - Hot Key - 1

text_image Hot Key Demo Hot Key Setting Key ID: Hotkey 0 Keycode List: HOME For more keycodes, please refer User Manual KeyCode: 172 GET SET Hot Key Brightness Brightness(%): 100 GET SET

4.6 VCIL Demonstration

The VCIL sample APP (VCILSample.apk) demonstrates the usage of VCIL APIs.

In the entry page, you should first set the protocol for each physical port properly in the "module settings" before you start other VCIL demo. Then, you can scroll to the bottom of the page and tap on the items in the VCIL demo function list to execute the demos. The following sections show the usage guide line of each items.

NOTE:

There might be some functions which are not supported on your device.

For the details of supported functions, please refer to the hardware spec.

Advantech TREK-734 - NOTE: - 1

VCIL DEMO
VCIL MODULE SETTINGS
Firmware Version2.10
Module ResetN/ARESET
Module SettingsGet OK
CAN PORT 0: CANGET
CAN PORT 1: CANSET
J1708 PORT 0: J1708
VCIL DEMO
Module SettingsCAN PORT 0: CANGET
CAN PORT 1: CANSET
J1708 PORT 0: J1708
VCIL DEMO FUNCTION
CANJ1939ODB2
J1708J1587

4.6.1 CAN

This page demonstrates the CAN APIs.

There are two scrolling areas in this page. The left side contains the demo of CAN port speed setting, CAN message sending, and CAN port error status getting. The right side contains the demo of CAN message receiving.

• CAN Port Speed Setting

In the "CAN PORT SPEED" area, you can set the bit rate for each CAN port.

Please note that you should also configure the bit rate for CAN port before you start J1939 and OBD2 demo page.

The CAN, J1939, OBD2 demo may not be operational.

• CAN Message Sending

In the "SEND" area, you can set the contents of a CAN message and press "SEND" button to send the message to CAN bus.

• CAN Port Error Status Getting

In the "CAN PORT ERROR STATUS" area, you can press "GET" button to get the error status of specific CAN port.

• CAN Message Receiving

In the "RECEIVE" area, all received CAN messages will be categorized and shown in the list view. The messages from the same CAN port with same CAN message ID will be updated to the same row in the list view and the "COUNT" column will increase.

You can press the "SET FILTER" button to enter the CAN Filter demo page.

NOTE:

  1. You must properly set the protocol in the entry page or the demo will not be operational.
  2. You must set the CAN port speed properly or the sending and receiving function in CAN, J1939, OBD2 demo page will not be operational.

Advantech TREK-734 - NOTE: - 1

text_image CAN DEMO CAN PORT SPEED CAN PORT: 0 SPEED: 250 Kbit/s MODE: NORMAL MODE GET SET NORMAL MODE SET LISTEN MODE SEND CAN PORT: 0 MSG TYPE: Extended Frame RECEIVE Do Message Statistic EVENT MODE POLLING MODE EVENT MODE TOTAL RECEIVE COUNT: 5 TIME PORT EXT RTR ID DATA COUNT 02:58:27 0 true false 1122AABB FF86FFFFFF1 02:58:10 0 true false 18FEF600 FF86FFFFFF4 CLEAR SET FILTER

4.6.2 CAN Filter

This page demonstrates the CAN APIs related to CAN message filter.

There are two scrolling areas in this page. The left side contains the demo of CAN message filter settings. The right side shows the filter of specific CAN port.

In the left side you can specify a filter (CAN ID) of specific CAN port and press "SET" button to apply it or "REMOVE" to remove the filter. To show the filters applied on specific CAN port, you can choose the CAN port ID and press the "GET" button and all filters will be shown to the right side.

In the right side, you can tap on the row in the list view to load the filter settings to the columns in left side.

Advantech TREK-734 - CAN Filter - 1

text_image CAN FILTER SETTING CAN FILTER SET BANK EXT RTR ID1 MASK1 ID2 MASK2 0 Proteinase false 0 0 0 0 1 Proteinase false 0 0 0 0 2 Proteinase false 0 0 0 0 3 Proteinase false 0 0 0 0 4 Proteinase false 0 0 0 0 5 Proteinase false 0 0 0 0 6 Proteinase false 0 0 0 0 7 Proteinase false 0 0 0 0 8 Proteinase false 0 0 0 0 9 Proteinase false 0 0 0 0 10 Proteinase false 0 0 0 0 11 Proteinase false 0 0 0 0 12 Proteinase false 0 0 0 0 13 Proteinase false 0 0 0 0 BANK: 0 BANK: 0 MSG TYPE: □ Extended Frame ID1: □ Remote Request MASK1: 7FF

4.6.3 J1939

This page demonstrates the J1939 APIs.

There are two scrolling areas in this page. The left side contains the demo of J1939 config, and J1939 message sending. The right side contains the demo of J1939 message receiving.

- J1939 Config

Press the "CONFIG" button to enter the J1939 config page. You can configure the address and J1939 NAME in the page.

• J1939 Message Sending

In the "SEND" area, you can set the contents of a J1939 message and press "SEND" button to send the message to CAN bus.

• J1939 Message Receiving

In the "RECEIVE" area, all received J1939 messages will be categorized and shown in the list view. The messages from the same CAN port with same PGN will be updated to the same row in the list view and the "COUNT" column will increase.

You can press the "SET FILTER" button to enter the J1939 Filter demo page.

NOTE:

  1. You must properly set the protocol in the entry page or the demo will not be operational.
  2. You must set the CAN port speed properly or the sending and receiving function in CAN, J1939, OBD2 demo page will not be operational.

Advantech TREK-734 - NOTE: - 1

text_image J1939 DEMO J1939 CONFIG CONFIG SEND PORT: 0 PGN: 1FFFF SRC: 01 DST: 02 RECEIVE Do Message Statistic EVENT MODE POLLING MODE EVENT MODE TOTAL RECEIVE COUNT: 13 TIME PORT PGN SRC DST PRI DATA COUNT 03:06:4 0 AA00 FE 0 6 FF86FFFFFFF5 9 FF 03:06:3 0 FEF6 FE F6 6 FF86FFFFFFF8 8 FF CLEAR SET FILTER

4.6.4 J1939 Config

This page demonstrates the J1939 APIs related to J1939 configuration.

You can set/get the address and J1939 NAME in this page. Please refer to SAE J1939-81 for the definitions of J1939 NAME.

J1939 CONFIG
PORT:0
Address:Ec
Arbitrary Addr. Capable:0
Industry Group:1
Vehicle System Instance:0
Vehicle System:1
Function:FF

4.6.5 J1939 Filter

This page demonstrates the J1939 APIs related to J1939 message filter.

There are two scrolling areas in this page. The left side contains the demo of J1939 message filter settings. The right side shows the filter of specific J1939 port.

In the left side you can specify a filter (PGN) of specific CAN port and press "SET" button to apply it or "REMOVE" to remove the filter. To show the filters applied on specific CAN port, you can choose the CAN port ID and press the "GET" button and all filters will be shown to the right side.

In the right side, you can tap on the row in the list view to load the filter settings to the columns in left side.

Advantech TREK-734 - J1939 Filter - 1

text_image J1939 FILTER SETTING J1939 FILTER PORT: 0 PGN: |FFFF ADD REMOVE GET ALL (show in ListView) J1939 FILTER RESET PORT: 0 RESET J1939 FLITER LIST PORT PGN 0 0001FFAA 0 0001FFFF

4.6.6 OBD2

This page demonstrates the OBD2 APIs.

There are two scrolling areas in this page. The left side contains the demo of CAN port speed setting, OBD2 message sending. The right side contains the demo of OBD2 message receiving.

• OBD2 Message Sending

In the "SEND" area, you can set the contents of a OBD2 message and press "SEND" button to send the message to CAN bus.

• OBD2 Message Receiving

In the "RECEIVE" area, all received OBD2 messages will be categorized and shown in the list view. The messages from the same CAN port with same message type, source address and destination address will be updated to the same row in the list view and the "COUNT" column will increase.

You can press the "SET FILTER" button to enter the OBD2 Filter demo page.

NOTE:

  1. You must properly set the protocol in the entry page or the demo will not be operational.
  2. You must set the CAN port speed properly or the sending and receiving function in CAN, J1939, OBD2 demo page will not be operational.
OBD2 DEMO
SENDRECEIVE
PORT:0Do Message StatisticEVENT MODEPOLLING MODEEVENT MODE
Type:VCIL_OBD2_TYPE_PHYSICALTOTAL RECEIVE COUNT: 9
SRC:01TIMEPORTTYPESRCDSTPRIDATA
03:25:490DBF11160100
03:25:420DBF13360100
03:25:370DAF13360100
DST:02
PRIORITY:3
DATA:AABBCCDD112233CLEARSET FILTER

4.6.7 OBD2 Filter

This page demonstrates the OBD2 APIs related to OBD2 message filter.

There are two scrolling areas in this page. The left side contains the demo of OBD2 message filter settings. The right side shows the filter of specific CAN port.

In the left side you can specify a filter (PID, please refer to ISO 15031-5) of specific CAN port and press "SET" button to apply it or "REMOVE" to remove the filter. To show the filters applied on specific CAN port, you can choose the CAN port ID and press the "GET" button and all filters will be shown to the right side.

In the right side, you can tap on the row in the list view to load the filter settings to the columns in left side.

Advantech TREK-734 - OBD2 Filter - 1

text_image OBD2 FILTER SETTING OBD2 FILTER PORT: 0 PID: FF ADD REMOVE GET ALL (show in ListView) OBD2 FILTER RESET PORT: 0 RESET OBD2 FLITER LIST PORT PID 0 000000FA 0 000000FF

4.6.8 J1708

This page demonstrates the J1708 APIs.

There are two scrolling areas in this page. The left side contains the demo of J1708 message sending. The right side contains the demo of J1708 message receiving.

• J1708 Message Sending

In the "SEND" area, you can set the contents of a J1708 message and press "SEND" button to send the message to J1708 bus.

• J1708 Message Receiving

In the "RECEIVE" area, all received J1708 messages will be categorized and shown in the list view. The messages with same MID will be updated to the same row in the list view and the "COUNT" column will increase.

You can press the "SET FILTER" button to enter the J1708 Filter demo page.

NOTE:

  1. You must properly set the protocol in the entry page or the demo will not be operational.

Advantech TREK-734 - NOTE: - 1

text_image J1708 DEMO SEND MID: 01 DATA: 00112233445566778899AABBCCDDEEFF0011223 LENGTH: 20 PRIORITY: 8 SEND Do Message Statistic EVENT MODE POLLING MODE EVENT MODE TOTAL RECEIVE COUNT: 13 TIME MID DATA LEN COUNT 06:22:32 AA 011122 3 7 06:22:23 80 011122 3 5 CLEAR SET FILTER

4.6.9 J1708 Filter

This page demonstrates the J1708 APIs related to J1708 message filter.

There are two scrolling areas in this page. The left side contains the demo of J1708 message filter settings. The right side shows the filter of the J1708 port.

In the left side you can specify a filter (MID) and press "SET" button to apply it or "REMOVE" to remove the filter. To show the filters applied on J1708 port, you can press the "GET" button and all filters will be shown to the right side.

In the right side, you can tap on the row in the list view to load the filter settings to the columns in left side.

Advantech TREK-734 - J1708 Filter - 1

flowchart
graph TD
    A["J1708 FILTER"] --> B["MID: AA"]
    B --> C["ADD"]
    B --> D["REMOVE"]
    B --> E["GET ALL (show in ListView)"]
    F["J1708 FILTER RESET"] --> G["RESET"]
    H["J1708 FILTER LIST"] --> I["MID"]
    I --> J["01"]
    I --> K["AA"]

4.6.10 J1587

This page demonstrates the J1587 APIs.

There are two scrolling areas in this page. The left side contains the demo of J1587 message sending. The right side contains the demo of J1587 message receiving.

• J1587 Message Sending

In the "SEND" area, you can set the contents of a J1587 message and press "SEND" button to send the message to J1587 bus.

• J1587 Message Receiving

In the "RECEIVE" area, all received J1587 messages will be categorized and shown in the list view. The messages with same MID will be updated to the same row in the list view and the "COUNT" column will increase.

You can press the "SET FILTER" button to enter the J1708 Filter demo page.

NOTE:

  1. You must properly set the protocol in the entry page or the demo will not be operational.

Advantech TREK-734 - NOTE: - 1

text_image J1587 DEMO SEND MID: 01 PID: 01FE DATA: 00112233445566778899AABBCCDDEEFF LENGTH: 16 PRIORITY: 8 SEND Do Message Statistic EVENT MODE POLLING MODE EVENT MODE TOTAL RECEIVE COUNT: 8 TIME MID PID DATA LEN COUNT 06:30:25 80 0001 1122 2 1 06:30:20 81 0001 1122 2 1 06:30:13 80 0000 1122 2 6 CLEAR SET FILTER

4.6.11 J1587 Filter

This page demonstrates the J1587 APIs related to J1587 message filter.

There are two scrolling areas in this page. The left side contains the demo of J1587 message filter settings. The right side shows the filter of the J1587 port.

In the left side you can specify a filter (PID) and press "SET" button to apply it or "REMOVE" to remove the filter. To show the filters applied on J1708 port, you can press the "GET" button and all filters will be shown to the right side.

In the right side, you can tap on the row in the list view to load the filter settings to the columns in left side.

J1587 FILTER SETTING

J1587 FILTER

J1587 FLITER LIST

PID: 000A

ADD

REMOVE

GETALL

(show in ListView)

PID

0001

000A

J1587 FILTER RESET

RESET

Appendix

A

This appendix explains the optional peripherals installation

A-1 Installing Backup Baery

  1. Remove the screws on backup baery cover

Advantech TREK-734 - A-1 Installing Backup Baery - 1

natural_image Close-up of a device rear panel showing ports, connectors, and a hand inserting a cable (no visible text or symbols)
  1. Install the backup baery into the baery slot

Advantech TREK-734 - A-1 Installing Backup Baery - 2

natural_image Interior view of a device showing external casing, ports, and battery pack (no text or symbols visible)

Advantech TREK-734 - A-1 Installing Backup Baery - 3

natural_image Hand inserting cable into a device casing, showing ports and connectors (no text or symbols visible)

Note: Please install the connector in correct direcon (the connector is anproof)
Advantech TREK-734 - A-1 Installing Backup Baery - 4

natural_image Close-up of a hand inserting cables into an electronic device's internal components, highlighting a red circle to a component with a white connector (no text or symbols visible)

Advantech TREK-734 - A-1 Installing Backup Baery - 5

natural_image Hand inserting a battery into an electronic device casing, showing ports and connectors (no text or symbols visible)
  1. Locked the baery cover.

Advantech TREK-734 - A-1 Installing Backup Baery - 6

natural_image Interior view of a device showing external components including ports, connectors, and a back panel (no visible text or symbols)

Advantech TREK-734 - A-1 Installing Backup Baery - 7

natural_image Hand inserting a USB into a device rear panel, showing ports and connectors (no text or symbols visible)

A-2 Installing RAM mount kit

TREK-734 designed a RAM mount hole to support ram mount kit. Refer to below dimension. It needs to use 3pcs M4x0.7x10L screws.

TREK-734 using as portrait monitor only.

Note: When adjust angle of RMA mount need to loosen the screws on RMA mount to prevent the TREK-734 damage.

Advantech TREK-734 - A-2 Installing RAM mount kit - 1

text_image 3-M4X0.7X10L Ø46

A-3 Installing IP54 I/O Cover

Part A –Water proong Rubber

Part B - Cover Top

Part C—Longer Screws (2 side)

Part D—Shorten Screws (middle)

Part E –Cover Boom

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 1

natural_image Black rectangular electronic device with four metallic pins and three circular mounting holes, mounted on a white background (no text or symbols visible)

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 2

natural_image Exterior view of a black plastic enclosure with mounting holes and three red-circled features (no text or symbols)
  1. Insert the Part E- Cover Boom into the chassis clip.

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 3

natural_image Close-up of a hand holding a black plastic mechanical component with three red-circled features, no visible text or symbols.

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 4

natural_image Close-up of hands installing a black electronic device into a housing, with red circles highlighting the ports (no text or symbols visible)
  1. Install the screws and ghtening screws. (2 dierent size screws, the part C – longer screw in 2 side, part D- the shorten screws in the middle)

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 5

natural_image Close-up of a device's internal component with three red-circled ports and a screwdriver inserted (no visible text or symbols)
  1. Install the Part B cover - Top and ghten the screws of cover top.

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 6

natural_image Close-up of hands installing a black electronic device panel with multiple ports (no visible text or symbols)

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 7

natural_image Close-up of a black electronic device with three screw holes and a red-handled tool inserted, no visible text or symbols.
  1. Insert the Part A- Water Proong Rubber into the screw holes

Advantech TREK-734 - A-3 Installing IP54 I/O Cover - 8

natural_image Close-up of hands holding a black electronic device with three circular buttons on its top (no text or symbols visible)

A-4 Installing HDC cable

  1. Insert the HDC cable before install the IP54 cover and ghten the screws on HDC cable.

Advantech TREK-734 - A-4 Installing HDC cable - 1

natural_image Close-up of a device's internal components with a hand inserting a cable, showing ports and connectors (no readable text or symbols)
  1. Fix the HDC into the rubber of IP54 I/O cover, please remove the rubber in Cover Boom.

Advantech TREK-734 - A-4 Installing HDC cable - 2

natural_image Exterior view of a black plastic enclosure with multiple circular holes and mounting holes, highlighted by a red rectangle (no text or symbols)

Advantech TREK-734 - A-4 Installing HDC cable - 3

natural_image Close-up of a black electronic device showing internal components including a coiled cable and three gold connectors (no text or symbols visible)
  1. Install the Part B cover - Top and tighten the screws of cover top.

Advantech TREK-734 - A-4 Installing HDC cable - 4

natural_image Close-up of hands holding a black 3D device with four circular buttons and a cable, no visible text or symbols

Advantech TREK-734 - A-4 Installing HDC cable - 5

natural_image Close-up of a black electronic device with three screw holes and a red-handled tool inserted, no visible text or symbols.

ADIANTECH

www.advantech.com

Please verify specifications before quoting. This guide is intended for reference purposes only.

All product specifications are subject to change without notice.

No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission of the publisher.

All brand and product names are trademarks or registered trademarks of their respective companies.

© Advantech Co., Ltd. 2010

Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : Advantech

Model : TREK-734

Category : Scale