Raptor:Data Logging File EOF: 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:RaptorDataLoggingFileEOF.png|right|frame|Raptor™ Data Logging File…')
 
No edit summary
 
Line 6: Line 6:


== Description ==
== Description ==
<p>This block is used to determine if the current file position is at the end of the file.</p>
<p>This block tells whether or not the end of a file has been reached.</p>
 
<p>Valid hardware resources vary, but typically include a connected USB storage device, and the modules built-in non-volatile data flash memory.</p>
 
<p>As with many of the other datalogging and file I/O Raptor blocks, this block takes a file handle as an input, and propagates the same file handle through the block logic to an output of the block. By connecting the File Handle output of file I/O block 'X' to the File Handle input of file I/O block 'Y', application designers can ensure that the logic executed by block Y will be performed after the logic executed by block X.</p>


== Inputs ==
== Inputs ==

Latest revision as of 20:44, 12 September 2023

Return to the main Raptor page

Return to File IO page

Raptor™ Data Logging File EOF

Description

This block tells whether or not the end of a file has been reached.

Valid hardware resources vary, but typically include a connected USB storage device, and the modules built-in non-volatile data flash memory.

As with many of the other datalogging and file I/O Raptor blocks, this block takes a file handle as an input, and propagates the same file handle through the block logic to an output of the block. By connecting the File Handle output of file I/O block 'X' to the File Handle input of file I/O block 'Y', application designers can ensure that the logic executed by block Y will be performed after the logic executed by block X.

Inputs

Input Type Description
File Handle File Handle Specifies the file to check.

Outputs

Output Type Description
File Handle File Handle Outputs the File Handle provided on the input.
EOF? boolean Output indicates if the file position is at the end of the file.

Parameters

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