Susi Sample Programs - Advantech PCM-9362 Series User Manual

3.5" biscuit with intel atom n450/d510, vga, lvds, 2 giga-lan, usb, sata, mini pcie and ssd
Table of Contents

Advertisement

4.3.4.2
Windows CE
In windows CE, there are three ways to install the SUSI Library, you can install it
manually or use Advantech CE-Builder to install the library or just copy the programs
and the library onto a compact flash card.
Express Installation:
You can use Advantech CE-Builder to load the library into the image.
First, you click the My Component tab.
In this tab, you click Add New Category button to add a new category, eg. the
SUSI Library.
Then you can add a new file in this category, and upload the SUSI.dll for this
category.
After these steps, you can select the SUSI Library category you created for
every project.
Manual Installation:
You can add the SUSI Library into the image by editing any bib file.
First you open project.bib in the platform builder.
Add this line to the MODULES section of project.bib
Susi.dll $(_FLATRELEASEDIR)\Susi.dll NK SH
If you want to run the window-based demo, add following line:
SusiTest.exe $(_FLATRELEASEDIR)\SusiTest.exe
If you want to run the console-based demo, add following lines:
Watchdog.exe $(_FLATRELEASEDIR)\Watchdog.exe NK S
GPIO.exe $(_FLATRELEASEDIR)\GPIO.exe NK S
SMBUS.exe $(_FLATRELEASEDIR)\SMBUS.exe NK S
Place the three files into any files directory.
Build your new Windows CE operating system.
4.3.5

SUSI Sample Programs

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.
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.
PCM-9362 User Manual
54

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcm-9362nc-s6a1ePcm-9362n-s6a1ePcm-9362d-s6a1e

Table of Contents