4 susi sample programs, 1 sample programs, 2 windows graphics mode – Advantech PCM-9588 User Manual

Page 52: 3 susidemo.exe, Susi sample programs

Advertising
background image

PCM-9588 User Manual

42

4.3.4

SUSI Sample Programs

4.3.4.1

Sample Programs

The sample programs demonstrate how to incorporate SUSI into your program.
There are sample programs for two categories of operating system, i.e. Windows XP
and Windows CE. The sample programs run in graphics mode in Windows XP and
Windows CE. The sample programs are described in the subsections below.

4.3.4.2

Windows Graphics Mode

There are sample programs of Windows in graphics mode for two categories of oper-
ating system, i.e. Windows CE and Windows XP. Each demo application contains an
executable file SusiDemo.exe, a shared library Susi.dll and source code within the
release package. The files of Windows CE and Windows XP are not compatible with
each other.
SusiDemo.exe is an executable file and it requires the shared library, Susi.dll, to
demonstrate the SUSI functions. The source code of SusiDemo.exe also has two
versions, i.e. Windows CE and Windows XP, and must be compiled under Microsoft
Visual C++ 6.0 on Windows XP or under Microsoft Embedded Visual C++ 4.0 on
Windows CE. Developers must add the header file Susi.h and library Susi.lib to their
own projects when they want to develop something with SUSI.

4.3.4.3

SusiDemo.exe

The SusiDemo.exe test application is an application which uses all functions of the
SUSI Library. It has five major function blocks: Watchdog, GPIO, SMBus, I

2

C and

VGA control. The following screen shot appears when you execute SusiDemo.exe.
You can click function tabs to select test functions respectively. Some function tabs
will not show on the test application if your platform does not support such functions.
For a complete support list, please refer to Appendix A. We describe the steps to test
all functions of this application.

Advertising