Moxa DA-683-SP-XPE [18/35] The dio control walkthrough

Moxa DA-683-SP-XPE [18/35] The dio control walkthrough
Sample Code for Customizing the DA-683
The DA-683 computer comes with several pieces of sample code that may be used to customize its behavior for
LED notifications, DIO Control, or to initiate emergency reboots when critical system applications come to a
halt.
The DIO Control Walkthrough
The DA-683 is designed with 4 digital inputs and 4 digital outputs that integrators and system administrators
may customize for their needs. The source code for controlling digital I/O behavior is located in the folder
<Software DVD>\examples\Example\C++\DIO\, while the compiled executable DIO.exe is located
under <Software DVD>\examples\Release. You can follow the steps below to test the digital I/O control
script, or you may freely modify the control script to create customized patterns that are associated with
specific system events. To review the digital I/O control code, see the section Sample Code for Digital I/O
Control in Appendix A of this manual.
1. Create the c:\programs\examples folder and copy DIO.exe into that folder. Run DIO.exe.
2. You will be presented with a menu of three choices; first, select 1 to display the DIO’s current status.
3. In the screenshot below, the user has selected 1.

Содержание

Похожие устройства

Скачать