4.0k views
in System Integration by
What steps are necessary to get data of a "real" target for my UI application? How to control a certain device? How to get access to an underlying software API? What are the basic rules to create an interface to a dedicated hardware driver?

1 Answer

+2 votes
by
 
Best answer

Every GUI application is intended to run on a real system - so it needs to display some real data from a certain machine or it needs to control some activities of the underlying system.

Let me refer to the articles Integrating with the device and Device Class and Device Driver, both are part of our online documentation. They explain all basics about natvie code and the integration of external software APIs or hardware drivers.

 

by
Thank you for this very informative, detailed guide!
Though there remains one question:
when i do the implementation like this i get an
"warning: implicit declaration of function"
For each device driver function that is called from the UI because the DeviceDriver.h is not included by my Application.c.
Is there some way to make the header available in my application.c without manually adding it to the file after each build?
I also have enums defined in my device driver that i want to use within the native code segments, therefore this would come handy as well.
by
For this purpose you should use 'Inline Code' from the Gallery folder 'Chora'.
Here is a detailed description how to work with 'Inline Code':
http://ask.embedded-wizard.de/298/how-to-add-%23include-for-native-code

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...