Raptor:Data Logging File Position
Jump to navigation
Jump to search
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. |