Skip to end of banner
Go to start of banner

Dev Environment - Front End (UI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Sections in this page:

Introduction

ATDM's development kit offers a high-definition 15.6" capacitive touch panel (other display sizes are available), and processing capability to deliver feature rich digital instrumentation. ATDM's hardware platform offers unlimited possibilities for creating intuitive and eye-catching human machine interfaces for monitoring and interacting with electric vehicle and energy storage applications.  

ATDM's kernel operates Linux Yocto, which leaves plenty of commercial and open source embedded software tools to create graphical user interfaces (GUIs).  ATDM's development kit currently supports Crank's Storyboard Suite, which is a commercial GUI design and development platform for embedded applications.  Qt is another platform we anticipate supporting in the future, but for the purposes of the remaining documentation we will refer to Cranks' Storyboard Suite.

Getting Started

Crank offers a 30-day trial version of their Storyboard Suite.  Once downloaded and installed on your development machine, there are multiple demo applications they provide to help get you started on evaluating their development studio.  Please refer to Crank's online product documentation to learn more about Storyboard Suite.

ATDM comes pre-installed with Crank's Thermostat or Storyboard IO application as shown below. This is a good starter application for evaluating the interaction of UI's controls and transitioning to other screens. The demo can be loaded into Storyboard Suite from your development machine at Crank's default installation directory "C:\Program Files (x86)\Crank_Software\Samples".

Storyboard IO Sample

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 demo application is replaced with 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 ATDM. 

$SB_BASE/bin/sbengine -v -orender_mgr,-odev-input,mouse=$TSLIB_TSDEVICE TestExample/TestExample.gapp

Back End Support

While generating awesome looking demo applications on ATDM 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.  ATDM has a class library known as ATDMIO that handles back end communication channels for various GUI platform APIs.  The table below shows current and future supported APIs.

GUI PlatformAPISupport
CrankStoryboardIOActive
QtQt Creator Coming soon
KanziKanzi APIComing soon
  • No labels