File Logger Close

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about File Logger Close

With the File Logger module active, the data values of the configured signals are sampled at a fixed time interval and written to the log-file on the SD-card. The log-file needs to be explicitly closed at the end of a logging session for the log-file to actually appear on the SD-card. Ideally, this block is called during software shutdown for example when the ignition signal goes low in automotive applications. An external trigger can also be used such as a button press event or CAN message reception.





Block inputs (inports)

Trigger input: When the value of this signal changes from 0 to 1 the file logger close block will be executed and the file on the SD card will be closed.


SD card logger

See Also

File logger init | File logger signal