Raptor:Data Logging File Exists: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to File IO page [[File:RaptorDataLoggingFileExists.png|right|frame|Raptor™ Data Logging F…') |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
== Description == | == Description == | ||
<p>This block | <p>This block indicates whether or not a file exists on a specified hardware resource.</p> | ||
<p>The "Path" output of the Raptor USB Status block 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 validated. 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 15: | Line 19: | ||
! scope="col" style="width: 70%;"|Description | ! scope="col" style="width: 70%;"|Description | ||
|- | |- | ||
! | ! Path | ||
| String | | String | ||
| Specifies the path of the file to check. | | Specifies the path of the file to check. |
Latest revision as of 20:46, 12 September 2023
Return to the main Raptor page

Description
This block indicates whether or not a file exists on a specified hardware resource.
The "Path" output of the Raptor USB Status block 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 validated. 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 check. |
Outputs
Output | Type | Description |
---|---|---|
Exists | boolean | Output indicates if the file from the specified path exists on the specified resource. |
Parameters
Parameter | Type | Description |
---|---|---|
Resource | Specify the resource which contains the file to check. |