Integration of Engee with Pragmasoft Studio
Blocks from the library Hardware PragmaSoft are designed to organise communication with PragmaSoft Studio software. You specify what data should be transmitted through the block at each calculation step. These data are combined into a single packet and transmitted over the network.
On the PragmaSoft Studio side, a list of received signals with their names, types and byte sizes must be defined in advance. This is necessary for correct unpacking of the packet.
Setting stages
-
In the PragmaSoft Studio installation directory, next to the
.exe
file, create thesettings.cfg
file:Program Files (x86)/Avionics and Software/PragmaSoftStudio %version%/settings.cfg
-
In this file specify the list of signals in the format:
имя_сигнала размер_в_байтах тип_данных
For example:
angle 8 float64 level 4 int32 roll 4 float32 pitch 4 float32
-
Run the visualisation in PragmaSoft Studio and the model in Engee.
By default the size of the data reception buffer is limited to 4080 bytes. |
Supported data types:
-
float32
. -
float64
-
int32
-
int64