Raptor:Data Logging File Remove

From NewEagleWiki
Revision as of 13:07, 13 September 2023 by Jwoytsek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return to the main Raptor page

Return to File IO page

Raptor™ Data Logging File Remove

Description

This block removes a file when given its hardware resource and a path to the file to be removed. The block will indicate whether or not the file was successfully deleted.

The "Path" input will provide the required volume identifier (drive letter) assigned to the USB device by the operating system. This identifier must precede the path to the file to be removed. This is typically done using a raptor printf block to assemble the absolute path to the file.

Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.

Inputs

Input Type Description
Path String Specifies the path of the file to remove. Must include the drive letter.

Outputs

Output Type Description
Success boolean Output indicates if the file was successfully removed.

Parameters

Parameter Type Description
Resource Specify the resource which contains the file to remove.