...
There is a script in the root directory labeled "Crank", which allows configuration to launch other applications after boot-up. If you open the script, as shown below, the last line item is where you can configure the .gapp file to run another application. In the example below, the Thermostat demo application is replaced with ThermostatIO TestExample application to launch after boot up. This application takes advantage of Crank's StoryboardIO (SBIO) API to interface with data back and forth from ATM. The next section will describe the communication interface in more detail between the front end and back end using ATMIO.
$SB_BASE/bin/sbengine -v -orender_mgr,-odev-input,mouse=$TSLIB_TSDEVICE ThermostatIOTestExample/ThermostatIOTestExample.gapp
ATMIO
Back End Support
While generating awesome looking demo applications on ATM is great for product demonstrations, this only completes half the puzzle for implementing fully functional display instrumentation. The GUI application will need external communication for mapping data sets to gauges, text readouts and button controls. There are various methods for sending and receiving data to GUI applications, and they will vary based on GUI development platforms. ATM has a class library known as ATMIO that handles back end communication channels for various GUI platform APIs. The table below shows current and future supported APIs.
GUI Platform | API | Support |
---|---|---|
Crank | StoryboardIO | Active |
Qt | Qt Creator | Coming soon |
Kanzi | Kanzi API | Coming soon |
...