Live Data Logging in the Visualization

All available status in the logger will be displayed with log visualization, thus input SELECTION has no influence on log visualization.

The buffer for visualization is to be defined, which is independent of the log buffer for logging data into CSV files. The first data address of visualization buffer needs to be assigned to input ADR_VISU_BUFFER.

The size of each visualization buffer is specified at input NUM_VISU_ENTRY as number of visualization entries.

The total size of the visualization buffer is depending on how many entries should be displayed in the visualization and how many zones are defined.

For example, if there are 4 zones to be logged and each zone has 10 log visualization entries, then a one dimensional or two dimensional array can be defined as the type “TECT_LOGINFO_TYPE”:

visu_array : ARRAY[1..40] OF TECT_LOGINFO_TYPE; (in one dimensional array).

visu_array : ARRAY[1..4, 1..10] OF TECT_LOGINFO_TYPE; (in two dimensional array).

In the library, there are two predefined visualization elements:

Log header:

../_images/f861affd083e57820a317d311b1ab4e5

Log entry:

../_images/ec703e2a083e51990a317d3130a8fa89

Each entry needs to be attach to one element of the defined visu_array[i] as place holder.

../_images/964048ef083e60c50a317d31464ac3d3

Then the user can build his own log visualization according to his demand. For example one zone with 5 log visualization entries:

../_images/34859477083e5d2d0a317d315e151a61

Another variable FIRST_LOGFILE_DATA needs to be defined as an array of type “TECT_LOGFILE_DATA_TYPE” in size NUM_OF_ZONE. This variable contains internal log settings and values for each zone individually.