Advantech SPC-57 User Manual

Page 74

Advertising
background image

74

Figure

4.25

4.7.4 Running your application programs

ActiveSync would automatically transfer the built application program to platform.
Choose SDK type as SOM_A once compile your application program.

Figure

4.26

4.7.5 WDT Modules

SPC is targeted to be the embedded device for web-enabled and data-acquisition
systems. It is built-in with a useful dynamic link library, WATCHDOG.DLL, which
has been designed to help AP developer easily implement his requirements of
handling the system resources such as Watchdog timer and LCD brightness control
etc. Programmers who are familiar with WIN32 API programming would feel very
easy to use this DLL to create his functions. The DLL make its device services look as
a file whose name is "WDT1:". The programmer could use this file name in
"CreateFile()" to open it and get the file handler. Then the following controls of user
required device services would be achieved by way of the file handler in one function
call of "DeviceIOControl()". At most 5 applications can access watchdog timer
simultaneously. The DeviceIOControl function is following:

- DeviceIoControl

Advertising