File Logger Signal

Block to configure the signal to be logged by the File Logger module.

Description

The 'File Logger Signal' block configures the input signal of the block to be logged by the File Logger Module. This means that the value of the input signal will be sampled by the File Logger Module and written to the log-file on the SD-card.

Remarks

Parameters
Signal Name
This name will be used in the first line of the log file, the first row of the column holding the data belonging to the signal. 'enter name' is the default and is used to check if a name has been added, an error during the build process will occur when no name has been entered, also when the field has been left blank.
Signal Data Type
Specify the data type of the blocks input signal. It is strongly recommended not to use the floating point data types: single or double. It is better to rescale the data so it fits in an integer.
Define ALL column numbers manually
When this box is not ticked the Simulink model will be scanned and the signals will be added in the order in which Simulink finds the File Logger Signal blocks, this can seem random. When the checkbox is ticked an extra field will appear which gives control over the column position of the signals in the log file. If this box is ticked in any of the File Logger Signal blocks it has to be done in ALL File Logger Signal blocks!
Column number
This is an index that basically specifies in what column this signal will appear in the actual log-file. This parameter can have a value of 1,2,3.... The user has to make sure the numbers are consecutive and there are no gaps i.e.: 1,2,4,5 is not allowed and will cause an error during the build procedure. The first column in the log-file is always the timestamp. If the Signal column number is 1, then the block's input signal value will be logged into the first column next to the timestamp.