Raptor:Data Logging File Remove: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to File IO page [[File:RaptorDataLoggingFileRemove.png|right|frame|Raptor™ Data Logging F…') |
No edit summary |
||
Line 6: | Line 6: | ||
== Description == | == Description == | ||
<p>This block removes a file | <p>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.</p> | ||
<p>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.</p> | |||
<p>Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.</p> | |||
== Inputs == | == Inputs == | ||
Line 17: | Line 21: | ||
! Path | ! Path | ||
| String | | String | ||
| Specifies the path of the file to remove. | | Specifies the path of the file to remove. Must include the drive letter. | ||
|} | |} | ||
Latest revision as of 13:07, 13 September 2023
Return to the main Raptor page
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. |