| Home www.terminal-systemsXML Config Toolkit HOME | Hardware Page

XML Code Processor - basic introduction...

The mission: everybody can create his / her software...

We analyzed dozens and hundreds of customer applications with terminal based IT systems. Most of them use the same structure:

  • one ore more display information and user input via keyboard, barcode, RFID, interfaces or others
  • a data processing or file storage for the user input
  • a later communication to a host / server system.

In the old way the customer needed programming know how for creating an own individual software. But this is past - the identical application structure broughts us the mission: No more programming! Everybody should be able to create an individual application - without any programming, without expert knowledge.

We created the idea to write an interpreter for PC based terminal products. This interpreter should be able to understand "normal wridden" configuration files and have to interprete the configuration file as programm.

XML as heart of the software...

We choosed the XML data format as base for the configuration file. XML is easy to understand, easy-to-manage and open data format. XML is no program and no software - XML is the data format only.

The user can create XML config files with every simple text editor, with freeware XML editors or with a simple tool we wrote for him: the XML code generator TRM-CODE-GEN.EXE. Additionally the user can view his XML code in every standard browser.

We exclaimed some XML data fields as description of a software for an industrial PC based terminal. These fields contains:

  • an object ID name
  • text output in LC display
  • user input on keyboard, barcode, RFID or others
  • saving the input
  • jump point - where to go after correct input
  • special function keys for aborting the input, again with a jump point where to go after a function key is pressed
  • special subroutines which runs automatically BEFORE the user input
  • special subroutines which runs automatically AFTER the user input.

You will find a complete XML field description for the XML code processor hier: XML field list.

How it works...

Letīs see a small application:

We made one important definition: Every input needs a special XML object. 

See the XML config file for this sample description:

  <?xml version="1.0" encoding="Windows-1252" ?>
- <NewDataSet>
- <datacode>
  <Nr>0</Nr>
  <Object-ID>start1</Object-ID>
  <CLR>1</CLR>
  <Text1-row>1</Text1-row>
  <Text1-col>1</Text1-col>
  <Text1>F1 Data Collection</Text1>
  <Text2-row>2</Text2-row>
  <Text2-col>1</Text2-col>
  <Text2>F2 Setup</Text2>
  <Text3-row>3</Text3-row>
  <Text3-col>1</Text3-col>
  <Text3>F3 Name</Text3>
  <Text4-row>4</Text4-row>
  <Text4-col>4</Text4-col>
  <Text4>Your Selection</Text4>
  <Input-BC>0</Input-BC>
  <Key1>F1</Key1>
  <Key1-next>start2</Key1-next>
  <Key2>F4</Key2>
  <Key2-next>Exit</Key2-next>
  </datacode>
- <datacode>
  <Nr>1</Nr>
  <Object-ID>start2</Object-ID>
  <CLR>1</CLR>
  <Text1-row>1</Text1-row>
  <Text1-col>1</Text1-col>
  <Text1>User:</Text1>
  <Text2-row>2</Text2-row>
  <Text2-col>1</Text2-col>
  <Text2>Article:</Text2>
  <Text3-row>3</Text3-row>
  <Text3-col>1</Text3-col>
  <Text3>Text:</Text3>
  <Text4-row>4</Text4-row>
  <Text4-col>7</Text4-col>
  <Text4>F1 Menu</Text4>
  <Input-row>1</Input-row>
  <Input-col>7</Input-col>
  <Input-min>1</Input-min>
  <Input-max>4</Input-max>
  <Input>____</Input>
  <Input-mode>N</Input-mode>
  <Input-BC>1</Input-BC>
  <Object-next>article</Object-next>
  <Key1>F1</Key1>
  <Key1-next>start1</Key1-next>
  </datacode>
- <datacode>
  <Nr>2</Nr>
  <Object-ID>article</Object-ID>
  <CLR>0</CLR>
  <Input-row>2</Input-row>
  <Input-col>8</Input-col>
  <Input-min>1</Input-min>
  <Input-max>8</Input-max>
  <Input>________</Input>
  <Input-mode>N</Input-mode>
  <Input-BC>1</Input-BC>
  <Object-next>text</Object-next>
  </datacode>
- <datacode>
  <Nr>3</Nr>
  <Object-ID>text</Object-ID>
  <CLR>0</CLR>
  <Input-row>3</Input-row>
  <Input-col>6</Input-col>
  <Input-min>1</Input-min>
  <Input-max>10</Input-max>
  <Input>__________</Input>
  <Input-mode>M</Input-mode>
  <Input-BC>0</Input-BC>
  <Object-next>start2</Object-next>
  <Key1>ENTER</Key1>
  <Key1-next>start2</Key1-next>
  </datacode>
  </NewDataSet>

You can download this XML configfile into your TRM/xx system with running XML code processor software - and it runs there as user application...

The XML Code processor inside the TRM/xx...

The XML code processor is the XML interpretersoftware for a PC based hardware range. It interpretes XML config files as program.

After booting a system with XML code processor the software starts automatically. The software tries to find an XML config file on the internal compact flash drive. The xonfig file use the filename TRM-CODE.XML. If the interpreter finds the TRM-CODE.XML config file, he uses its content as software applicaton.

If a user want to change his software - this is very easy: Use FTP to upload the XML config file on your desktop PC. Change the XML config file on your desktop PC. Download the config file back to the PC terminal system - and reboot the system (or restart the interpreter). (For FTP users: the XML code processor supports a user "xml" with password "xml". Use this values for your FTP login.

How to create your own XML configfile

You have different ways how to create your own XML configfile for the code processor.

1st: You can use a standard text editor and a webbrowser. Type simple text and use the XML field description from extension on this page.

2nd: You can use a universal / freeware XML editor. Use XML field description from extension on this page.

3rd: Current office programs support XML. You can use them also. Use XML field description from extension on this page.

4th: We are offering an easy-to-use / easy-to-manage software tool for your Windows PC, a TRM code generator, calles TRM-CODE-GEN.EXE. In this case you need no knowledge about the XML field description. (See below.)

TRM Code Generator - the easiest way of creating your own XML configfile...

The XML code generator software TRM-CODE-GEN.EXE is a windows software which allows the easy creating, editing and downloading XML configfiles for your code processor. It is available in English and German language. (Pictore above shows the german version - sorry.)

It shows the complete XML configfile in the topper half of your screen and seperates a codeblock into detail fields in the upper half. You can change the information direct in the detail fields, press the button UPDATE and the new information will be saved.

It is very easy to use and you need no knowledge about the XML internals of the code processor. (We will put a more powerful software description on this webpage if needed.)


Technical information without warranty. Pictures show samples.
AE Systeme www.terminal-systems.de - Solutions for industrial IT | D-31303 Burgdorf
Tel: +49 5136 802421 | Fax: +49 5136 9776368 | info@terminal-systems.de