Getting Started

Christoph Rathfelder edited this page Dec 18, 2015 · 13 revisions

Getting Started

The general usage of SensIDL to define a simple data structure and generate executable code from it are demonstrated. Please refer to the following screencast as a starting point. This screencast video demonstrates the general usage of SensIDL to define a simple data structure and generate executable code from it. The video can also be found on youtube: Youtube link

IMAGE ALT TEXT

Alternatively the following sections will describe the general usage of sensidl.

Specific SensIDL-files can be created in existing Java-projects. It can be done by creating a new file. Now the file-name have to be set and concatenate with the file-extension .sidl. After this is done eclipse will ask if the user want to add the xtext nature. This can be confirmed.

For this example an existing SensIDL-example was used which is available at the SensIDL-Help-Content-site (Help->Help Contents->SensIDL Documentation->Getting Started->Simple Example).

After the file is saved the code can be generated. To do this you can right-click directly in the canvas or the SensIDL file. In the upcoming context menu exist the entry "SensIDL - Generate Code". If the entry is clicked the SensIDL tooling wizard will open.

In the wizard are a couple of options which can be edited. For instance the output folder can be chosen where the code-files will be generated. Additionally there is also a dropdown-menu which enables the user to generate the code in the specified programming language.

After the configurations are set the code can be generated by click on the button "Generate Code". In the specified output folder are now all code files generated.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.