Errata exists for this version of the document.
GetPosition is used to provide the current position of the file handle.
Signature
GetPosition(
[in] UInt32 fileHandle
[out] UInt64 position
);
|
Argument |
Description |
|
fileHandle |
A handle indicating the access request and thus indirectly the position inside the file. |
|
Position |
The position of the fileHandle in the file. If a Read or Write is called it starts at that position. |
Method Result Codes (defined in Call Service)
|
Result Code |
Description |
|
Bad_InvalidArgument |
See OPC 10000-4 for a general description. Invalid file handle in call. |
Table C.6 specifies the AddressSpace representation for the GetPosition Method.
Table C.6 – GetPosition Method AddressSpace Definition
|
Attribute |
Value |
||||
|
BrowseName |
GetPosition |
||||
|
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
|
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
|
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |