Advantech PCM-9388 Uživatelský manuál Strana 47

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 88
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 46
39 PCM-9388 User Manual
Chapter 4 S/W Introduction & Installation
1. Extract Susi.zip.
2. Double-click the "Setup.exe" file.
The installer searches for a previous installation of the SUSI Library. If it locates one,
a dialog opens asking whether you want to modify, repair or remove the software. If
it is not located, the dialog proceeds by asking you to click “Next”.
4.3.3.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 onto the image.
First, click the “My Component: tab.
In this tab, click the “Add New Category” button to add a new category; for
example, the SUSI Library.
Then, add a new file to this category, and upload the version of SUSI.dll for the
category.
After completing these steps, the SUSI Library category you created is available
for all of your projects.
Manual Installation:
You can add the SUSI Library onto the image by editing any bib file.
First, 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.exeNK S
SMBUS.exe$(_FLATRELEASEDIR)\SMBUS.exeNK S
Place the three files into any files directory.
Build your new Windows CE operating system.
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 Windows CE and Windows XP files 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
Zobrazit stránku 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 87 88

Komentáře k této Příručce

Žádné komentáře