Raptor:Data Logging File Size: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to File IO page [[File:RaptorDataLoggingFileSize.png|right|frame|Raptor™ Data Logging Fil…')
 
No edit summary
 
Line 6: Line 6:


== Description ==
== Description ==
<p>This block returns the size of the specified file in bytes.</p>
<p>This block indicates the size of the file in bytes.</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 renamed, as well as the destination file path. 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 16: Line 21:
|-
|-
! Path
! Path
| String
| r_string
| Specifies the path of the file to check.
| Specifies the path of the file to check.
|}
|}

Latest revision as of 13:15, 13 September 2023

Return to the main Raptor page

Return to File IO page

Raptor™ Data Logging File Size

Description

This block indicates the size of the file in bytes.

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 renamed, as well as the destination file path. 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 r_string Specifies the path of the file to check.

Outputs

Output Type Description
Bytes int32 The size of the specified file in bytes.

Parameters

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