File Logger Init

From OpenMBD
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about File Logger Init

The 'File Logger Init' block instructs the code generator to enable support for the File Logger module. This module allows the logging of Simulink signals (at a fixed time interval) into a file that is written to the SD-card. All signals in the ASCII log-file are separated by a semicolon. This data format allows the log-files to be opened by any tool that can read CSV files, such as Microsoft Excel.

Block

FileLoggerInit.png

Mask

FileLoggerInitMask.png

Block inputs (inports)

Trigger input: When the value of this signal changes from 0 to 1 the file logger close block will be executed, a new file will be generated on the SD card and logging to this file will be started.

Block parameters

Parameter Description
File name Instead of using a fixed error code and error parameter (see below), it is possible to use input port to the block to specify the error code and eror parameter.
Error code The error code (ID) that needs to be deleted when this block is triggered can be specified .
Error parameter The error parameter of the error that needs to be deleted when this block is triggered can be specified.

Examples

SD card logger

See Also

File logger close | File logger signal