Close is used to close a file represented by a FileType. When a client closes a file, the handle becomes invalid.

Signature

Close(

[in] UInt32 fileHandle

);

Argument

Description

fileHandle

A handle indicating the access request and thus indirectly the position inside the file.

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 3 specifies the AddressSpace representation for the Close Method.

Table 3 – Close Method AddressSpace definition

Attribute

Value

BrowseName

Close

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

HasProperty

Variable

InputArguments

Argument[]

PropertyType

Mandatory

Conformance Units

Base Info FileType Base