Annex C (normative) File Transfer ToC Previous Next

C.2 FileType ToC Previous Next index

C.2.5 GetPosition ToC Previous Next

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

Previous Next