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:
Log entry:
Each entry needs to be attach to one element of the defined visu_array[i] as place holder.
Then the user can build his own log visualization according to his demand. For example one zone with 5 log visualization entries:
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.