Moxa DA-682A-C7-DPP [17/36] Sample code for customizing the da 682a dpp
![Moxa DA-682A-C7-DPP [17/36] Sample code for customizing the da 682a dpp](/views2/1198979/page17/bg11.png)
DA-682A-DPP Windows Software Customizable Sample Code
4-2
Sample Code for Customizing the DA-682A-DPP
The DA-682A-DPP comes with several pieces of sample code that you can use to customize the behavior of LED
notifications, temperature, vibration, and GPS events, or to initiate emergency reboots when critical system
applications come to a halt.
LED Control
The DA-682A-DPP is designed with 8 programmable LEDs that integrators and system administrators can
customize for their notification needs. The source code for controlling the LED behavior is available on the
software DVD under
\examples\Example\C++\WatchDog\ and the compiled executable LED.exe is
available at
\examples\Release.
The LED Control Walkthrough
You can follow the steps below to test the LED control script or modify the control script to create customized
patterns that are associated with specific system events. Refer to LED Control Code
for the complete code.
1. Create the c:\programs\examples folder on your computer and copy the LED.exe file from the
software DVD into that folder. Run
LED.exe on the computer.
2. Select 1 to display the LED’s current status.
In the screenshot below, the user has selected 1 and is viewing the current status of all LEDs. The value 0
shown next to each LED entry indicates that all of the LEDs are currently turned off. Visually verify this by
examining the LEDs on the DA-682A-DPP’s front panel.
Содержание
- Da 682a dpp windows software user s manual 1
- Edition 1 march 2016 1
- Www moxa com product 1
- Copyright notice 2
- Da 682a dpp windows software user s manual 2
- Disclaimer 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Table of contents 3
- Introduction 4
- Da 682a dpp windows software introduction 5
- Software components 5
- Da 682a dpp windows software introduction 6
- System initialization 7
- Basic administrative setup 8
- Da 682a dpp windows software system initialization 8
- Setting up an administrative account and creating user accounts 8
- Da 682a dpp windows software system initialization 9
- Enabling windows 7 write protection 10
- Da 682a dpp windows software enabling windows 7 write protections 11
- Enhanced write filter 11
- Overview 11
- Cmd ex 12
- Da 682a dpp windows software enabling windows 7 write protections 12
- Enabling enhanced write filter 12
- Da 682a dpp windows software enabling windows 7 write protections 13
- Ewfmgr c 13
- Ewfmgr c commitanddisabl 13
- Ewfmgr c enabl 13
- Da 682a dpp windows software enabling windows 7 write protections 14
- Enabling file based write filter 14
- Fbwfmgr displayconfig 14
- Fbwfmgr enabl 14
- File based write filter 14
- Overview 14
- Da 682a dpp windows software enabling windows 7 write protections 15
- Fbwfmgr displayconfi 15
- Customizable sample code 16
- Led control 17
- Sample code for customizing the da 682a dpp 17
- The led control walkthrough 17
- C programs example 18
- Da 682a dpp windows software customizable sample code 18
- Examples example c watchdog 18
- Examples releas 18
- The watchdog control code walkthrough 18
- Watchdog control 18
- Watchdog ex 18
- C programs example 19
- Da 682a dpp windows software customizable sample code 19
- Examples example c watchdog 19
- Examples releas 19
- Relay control 19
- Relay ex 19
- The relay control walkthrough 19
- System recovery 20
- Da 682a dpp windows software system recovery 21
- Overview setting up the recovery environment 21
- Recovery 21
- Step 1 preparing the usb drive 21
- Tuxboot windows 23 ex 21
- Da 682a dpp windows software system recovery 22
- Recovery 22
- The two types of recovery base install and fully configured 22
- Da 682a dpp windows software system recovery 23
- Home partimag 23
- Recovery da 682a dpp 23
- Step 2 optional restoring the system to the stock os 23
- Da 682a dpp windows software system recovery 24
- Step 3 setting up the bios to boot via the usb 24
- Da 682a dpp windows software system recovery 25
- F home partimag 25
- Step 4 optional creating a custom system image 25
- Da 682a dpp windows software system recovery 26
- Home partima 26
- Warning 26
- Da 682a dpp windows software system recovery 27
- Da 682a dpp windows software system recovery 28
- F home partimag 28
- Recovery os_imag 28
- Step 4 configuring a stock os restoration 28
- Step 5 performing a trial recovery 28
- Da 682a dpp windows software system recovery 29
- Da 682a dpp windows software system recovery 30
- Step 6 resetting the bios to its original state 30
- Da 682a dpp windows software system recovery 31
- A sample code for da 682a dpp customization 32
- Sample code for da 682a dpp customization 32
- Led control code 33
- Relay control code 35
- Watchdog control code 35
Похожие устройства
- Moxa DA-682A-C7-DPP Руководство по подключению
- Moxa DA-682A-C7-DPP Руководство пользователя Linux
- Moxa DA-682A-C7-DPP Руководство по аппаратной части
- Moxa DA-682A-C7-DPP Технические характеристики
- Moxa DA-682A-C7-DPP-LX Инструкция по эксплуатации
- Moxa DA-682A-C7-DPP-LX Руководство по подключению
- Moxa DA-682A-C7-DPP-LX Руководство пользователя Linux
- Moxa DA-682A-C7-DPP-LX Руководство по аппаратной части
- Moxa DA-682A-C7-DPP-LX Технические характеристики
- Braun 5050s Series 5 Инструкция по эксплуатации
- Braun HD 550 Инструкция по эксплуатации
- Braun Silk-epil 7 SkinSpa 7-561 Wet And Dry Инструкция по эксплуатации
- Braun 195s Series 1 Инструкция по эксплуатации
- Braun BT 7050 Инструкция по эксплуатации
- Braun 7929 Silk-epil 7 Skin Spa Инструкция по эксплуатации
- Candy FLE 0502/6 X Инструкция по эксплуатации
- Candy FPE 609/6 XL Инструкция по эксплуатации
- Candy CCFE 300 RU Инструкция по эксплуатации
- Candy FCL 614/6 GH Инструкция по эксплуатации
- Candy FPE 629/6 NX Инструкция по эксплуатации