Raptor:Data Logging File Position: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to File IO page [[File:RaptorDataLoggingFilePosition.png|right|frame|Raptor™ Data Logging…') |
No edit summary |
||
Line 6: | Line 6: | ||
== Description == | == Description == | ||
<p>This block | <p>This block returns the file accessor's current position in a file. This position is the total number of bytes away from the start of the file.</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 12:55, 13 September 2023
Return to the main Raptor page
Description
This block returns the file accessor's current position in a file. This position is the total number of bytes away from the start of the file.
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. |
Position | int32 | The current position in the file in bytes. |
Parameters
Parameter | Type | Description |
---|---|---|
Resource | Specify the resource which contains the file to check. |