G-API Programming
USB 4112/ basicCON 4112 – User Manual
3-1
3
G-API Programming
The
G-API
(GOEPEL-API) is the C-programming user interface for
GOEPEL electronics
hardware under Windows
®
.
It provides a wide hardware independent command set for CAN, LIN,
K-Line, MOST, FlexRay, LVDS, ADIO and Diagnostic services.
No matter whether a PXI/ PCI, USB and Ethernet device is used, the
commands remain the same.
The hardware abstraction introduced with the
G-API
gives the test
application parallel access to the hardware, allowing one application to
access multiple hardware interfaces. As well as multiple applications
can access the same hardware interfaces in parallel.
Another feature introduced by the
G-API
is the asynchronous
hardware access. This means no blocking execution for pending
firmware commands. The command acknowledgement is provided via
callback mechanism.
Therefore no polling is required from the application.
With the
HardwareExplorer
GOEPEL electronics
provides a hardware
configuration and management tool. Offering users an easy way to
manage their hardware configurations and identifying specific
hardware interfaces by logical names. Using logical interface names in
the application saves from rebuilding the application when porting it to
another interface or controller board, as the interface can be easily
reassigned in the
HardwareExplorer
.
Furthermore the
HardwareExplorer
provides a simple means of testing
the interaction between hardware and software by executing the
integrated self-tests.
Please consult the
G-API
documentation for further information.
This documentation and the installation software are located in the
G-API folder on the supplied Product CD.