![AWC GP3 Скачать руководство пользователя страница 17](http://html.mh-extra.com/html/awc/gp3/gp3_manual_3035292017.webp)
You can find more about different techniques to use the GP3 at
http://www.awce.com/gp3intro.htm
. The current
methods available are:
Method
Description
Pros
Cons
Links
GP3EZ
Use a simple point and
click interface to create
"scripts". You can run the
scripts from the PC, or
download them to the GP3
so it will run standalone.
Very easy to use.
Integrated
debugging. Only
way to compile to
the GP3.
Not as flexible as
conventional
programming. Requires
Windows or Mono
under Linux (Linux
version available May
2010, although V1.5
works under Mono
with only a few
cosmetic problems)
•
Info center
including videos,
help files, and
downloads
•
GP3DAQ
Use an example program to
plot analog inputs and save
them to your PC as files
No programming
required
Windows only. Only
plots analog values.
Although you can scale
data using a
polynomial, generally
not as flexible as
writing custom
software or scripts
•
Microsoft
(ActiveX)
languages (C++,
C#, VB, VBA, ASP,
etc.)
The provided ActiveX
control provides an easy
way to control the GP3
from most Microsoft
languages and many other
Windows-based languages.
Simple integration
with common
Windows languages.
Very simple to use.
ActiveX not portable.
Must have correct MS
dependencies.
•
This page has more
info (see below).
•
ActiveX and
standard DLLs.
•
Windows DLL or
Library
Standard library can
produce a standard library,
a DLL, or you can just
include the source code in
your C or C++ program.
Portable (same code
usable on Linux,
Windows, Cygwin,
Windows CE). DLL
usable with Java via
JNI or JNA calls.
Integrating DLLs
slightly more difficult
in some languages).
•
•
information about
using JNA to call
the library from
Java
•
Linux Library
Standard library can
produce a standard library,
a shared object, or you can
just include the source code
in your C or C++ program.
Portable (same code
usable on Linux,
Windows, Cygwin,
Windows CE).
The .so is usable
with Java via JNI or
JNA calls. Also used
for Raspberry-Pi.
Any 3.3V board
requires level
conversion or GP3/Pi
hardware. Serial port
can't be used for
console.
•
•
information about
using JNA to call
the library from
Java
•
Pure Java Object
Standard Java Object wraps
GP3 functionality
No native code
required. Example of
embeddable
Javascripting.
Requires finicky Java
Serial libraries
(javax.comm or
RXTX)
•
•
example.
-14-