Difference between revisions of "HANcoder/STM32/Blocks/File Logger Init"
From OpenMBD
(Created page with "{{HANcoder/block| info= The 'File Logger Init' block instructs the code generator to enable support for the File Logger module. This module allows the logging of Simulink sig...") |
|||
Line 11: | Line 11: | ||
FileLoggerInitMask.png | 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. | ||
+ | |||
+ | == Examples == | ||
+ | [[HANcoder/Examples/SD_Card_Logger| SD card logger ]] | ||
+ | |||
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/File_Logger_Close|File logger close]] {{!}} [[HANcoder/File_Logger_Signal|File logger signal]] | ||
}} | }} |
Revision as of 07:30, 21 April 2017
Supported Targets: Olimexino, E407, P405
Contents
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
Mask
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.