4.2.6 GetPosition

GetPosition is used to provide the current position of the file handle.

Signature

	GetPosition(
		 [in] UInt32 fileHandle
		 [out] UInt64 position
		);
Argument Description
fileHandleA handle indicating the access request and thus indirectly the position inside the file.
PositionThe 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_InvalidArgumentSee OPC 10000-4 for a general description. Invalid file handle in call.

Table 6 specifies the AddressSpace representation for the GetPosition Method.

Table 6 – GetPosition Method AddressSpace definition
Attribute Value
BrowseNameGetPosition
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
Conformance Units
Base Info FileType Base