Raptor:Data Logging File Close
Return to the main Raptor page
Description
This block will close a file, given the file handle and specified hardware on which the file is stored.
Valid hardware resources vary, but typically include a connected USB storage device, and the modules built-in non-volatile data flash memory.
When writing to a file, application designers should ensure that log files are closed using Raptor File Close blocks after each file write operation. This can help prevent memory overflows and corruption of log files.
When writing to a file, application designers should ensure that log files are closed using Raptor File Close blocks after each file write operation. This can help prevent memory overflows and corruption of log files.
Inputs
Input | Type | Description |
---|---|---|
File Handle | File Handle | Specifies the file to be closed. |
Parameters
Parameter | Type | Description |
---|---|---|
Resource | Specify the resource which contains the file to close. |