Leverage Tilcon and Tornado to develop embedded graphics

The Tilcon Real-Time Development Environment is a multi-platform user interface development tool for developing robust, highly interactive user interfaces that allow users to quickly and easily develop satisfying graphical interface applications. The programs developed are not You need to modify the code to migrate from one operating system to another.

VxWorks is a high-performance embedded real-time operating system. It is widely used in high-tech and high-tech fields such as communication, military, aviation, and aerospace with high reliability and excellent real-time performance. In order to meet the needs of users with complex graphical interfaces, the VxWorks embedded operating system can use TiIcon graphics development tools to configure the graphics development library WindML in the Tornado environment, while Tilcon integrates a large number of mature controls without the need to call low-level graphics functions to draw line fills. Dragging controls to construct your own graphics application greatly simplifies the development process.

Based on the development characteristics of each software tool mentioned above, a scheme based on embedded graphics development is proposed. The development method is applicable to the embedded system WindRiver VxWorks. It realizes the embedded real-time using the seamless connection between Tilcon and Tornado integrated development environment. Development of graphics under the operating system.

1 VxWork, the hierarchical relationship between Tornado and Tilcon

Tornado is an integrated development environment for developing VxWorks applications. The project management software included in Tornado can effectively combine the user's own code with the core of VxWorks. The VxWorks kernel can be tailored according to the user's needs. VxSim prototype simulator It allows the programmer to directly develop the system prototype and make the system estimate without using the target machine. The powerful CrossWind debugger can provide the task-level and system-level debugging mode, which can be used for multi-target machine joint debugging; optimization analysis Tools can help programmers actually observe, track, and eliminate performance errors in a variety of ways.

VxWorks refers to the executable code IMAGE on the target machine compiled by the Tornado integrated development environment on the host, that is, the VxWorks operating system image file that can be cropped. It's with DOS*. The EXE file is similar and can be linked statically or dynamically. During the development phase, the target file can be dynamically downloaded and dynamically linked with other target files. In the finished product stage, it is statically linked, and the product is linked to other target files immediately after power-on.

Tornado is a powerful graphical embedded integrated development environment. Its development system consists of three highly integrated components: one is powerful cross-development tools and utilities running on the host and target; the second is to run The high-performance, tailorable real-time operating system VxWorks on the target machine; the third is to connect multiple communication methods of the host and the target, such as serial port, Ethernet, emulator or other means of communication.

The Tilcon Real-Time Development Environment is a multi-platform user interface development solution for developing robust, highly interactive user interfaces. The Tilcon development system consists of three basic components: the Tilcon graphics engine, a platform-independent API, and a visual graphical interface design tool, the Tilcon graphical editor.

In the Tornado development environment, the VxWorks module is first configured according to the needs of its own application and target machine, including: C++ module, graphics module, target hardware module, operating system module, etc. Secondly, VxWorks image type, including RAM, is selected. ROM, Rom-Compress, etc.; again construct the VxWorks image, and finally boot the Vx-Works image, generate the target plus the required VxWorks image file. The design of the graphical interface in the Tilcon development environment, including dragging the required controls and the driver code of each control, and then generating the graphics library file; and then according to the seamless connection between Tornado and Tilcon, the graphics library file generated by Tilcon Loaded into the Tornado environment to enable graphical development under embedded. Their hierarchical relationship is shown in Figure 1.

Leverage Tilcon and Tornado to develop embedded graphics

2 embedded graphics development steps 2.1 Tilcon system environment configuration

Before the graphic design, configure the embedded system development environment, firstly run the Til-con vector graphics engine correctly under the VxWorks real-time operating system, you must load several component support in the Image image file, namely: component C++ Components all children, WindML media library components. Second, the IDS application model requires tlncore. o and tlnapi. o Target static library file support, they can be provided by Scalable provided with Tilcon. Exe executable to generate, run Scalable. Before exe, you need to select the processor type and VxWorks version information and ensure that Tilcon can accurately locate the target file information. Again, configure the build environment C/C++ Compile and Micros in Tornado's Downloadable project. Finally, add an application to this project.

2.2 Tilcon operating mechanism

First call the TRT_Start application interface function, then open the information channel between VxWorks and TiIcon, then call the TRT_WindowLoad function to start the initialization operation of the Tilcon graphical interface window, and load and display the window file ID; then call the TRT_WindowDisplay function to display the just loaded The graphics window and its associated child windows and dialogs; then enter the main frame loop area, while the TRT_GetInput function is in a wait state and receives the interface operation events from the Tilcon engine in real time, and distributes them to the corresponding processing through the conditional statement structure. A subfunction, the user's specific event handler. If the termination information is received, TRT_WindowDelete is called to clear the graphical user interface for freeing the memory, and finally the TRT_Exit function is called to complete the exit operation. The specific operation process is shown in Figure 2.

Leverage Tilcon and Tornado to develop embedded graphics

3 sample development

An example of a smart water meter software interface development developed with the Tileon tool. Using Tilcon in the embedded VxWorks system, combined with the graphics software developed by Tornado tool, the intelligent water meter graphic interface development under the embedded system is realized according to the mechanism of the embedded development flow chart. The basic framework program is as follows, the interface graphics are shown in Figure 3. Show.

Leverage Tilcon and Tornado to develop embedded graphics

This example creates a water meter window with controls for four dials and dial control action buttons and water meter data display. The software and the smart water meter circuit board can realize the real-world embedded graphics development and control, and have practical application value.

The basic framework of the Tileon user program and its main code are as follows:

Leverage Tilcon and Tornado to develop embedded graphics

Leverage Tilcon and Tornado to develop embedded graphics

Leverage Tilcon and Tornado to develop embedded graphics

Leverage Tilcon and Tornado to develop embedded graphics

After designing the graphical interface and writing the user program using Tilcon, you can compile and link the program to the Tilcon API, and the entire system can run.

4 Conclusion

As an embedded graphics development tool, Tilcon uses Tilcon's Tileon graphics engine, platform-independent API, and a visual graphical interface design tool, the Tilcon graphical editor for interface development and design. This article introduces the tools in Tilcon-based embedded operating system graphical interface development, and explores the process of using Tilcon to set up interfaces and develop applications. By way of example, Tilcon can meet the Vxworks-based real-time system graphical interface development requirements in terms of functional performance, and is an ideal rapid development solution for embedded system graphical interfaces.

Wireless Battery Par Light

Wireless Battery Par Lights Series


It is built with D-Fi transceiver. This wireless battery led light can be controlled by wireless DMX or IR remote controller. It's convenient for home parties, events, and any other places requiring a small fixture lighting up the venue. Shine light where it is needed using the built-in adjustable kickstand and prevent light spillage with the built-in glare shield.

DMX cables can be removed, wireless connection is available without any signal interference. With in-built lion battery, power cables can be removed, each light can be placed seperately without any cable connection, while they are wirelessly connected for the controlling. The charging time is about five hours, while working time reaches 8-12 hours. It is small in size: 15*14*23cm, stuitable for lighting up a truss.

Our company have 13 years experience of LED Display and Stage Lights , our company mainly produce Indoor Rental LED Display, Outdoor Rental LED Display, Transparent LED Display ,Indoor Fixed Indoor LED Display, Outdoor Fixed LED Display, Poster LED Display , Dance LED Display ... In additional, we also produce stage lights, such as beam lights Series, moving head lights Series, LED Par Light Series and son on...

Wireless Battery Par Light Series,Beam 230 7r,Stage Beam Light,Moving Head Stage Lights

Guangzhou Chengwen Photoelectric Technology co.,ltd , https://www.cwstagelight.com

Posted on