« Stand-alone data logger for avalanche warning systems | HomePage | Energy efficiency »

06/16/2011

Scripting languages - your benefits

The programs of the MSX-Box are mainly written in C or C++. However, not every end user is able to work with these programming languages. Therefore, the MSX-Box offers the opportunity to use low- level programming languages. Thus people who are not software engineers can also use the MSX-Box.


Test facility designers or factory managers do not always have C or C++ programming knowledge. Therefore, the installation of a test facility can take a long time for the end user as well as for the programmer of the facility.

 

The MSX-Box helps solve this problem:

With scripting languages programs can be created fast. They have simple structures and are easy to learn. With the MSX-Box you can install interpreters for scripting languages like for example Phyton or Lua. End users from the production department or test facility can adapt the parameters themselves.

 

Proceeding:

Before the end user writes the application, the programmer lists all software functions that are necessary for the acquisition or control of the desired applications in C or C++ on the MSX-Box.

Based on these functions, the programmer writes his “general” software application for his acquisition, control and regulation tasks. Additionally, he creates an interpreter for the scripting language.

 

Then he indicates a structure to the end user, in which he only has to insert the parameters for the acquisition or control in the scripting language.

From his PC, the end user enters the parameters of the application in the script. After that, the script is translated by the interpreter of the MSX-Box and is executed as a C-code according to the application defined by the programmer. Thus the interpreter resp. the algorithm only has to be written / installed once. The end user can write himself as many applications as required.

Post a comment