7 ObjectTypes for the Vision System in General ToC Previous Next

7.12 ResultTransferType ToC Previous Next

7.12.2 ResultTransferType methods ToC Previous Next GenerateFileForRead ToC

This method is used to start the read file transaction. A successful call of this method creates a temporary FileType Object with the file content and returns the NodeId of this Object and the file handle to access the Object.


GenerateFileForRead ([in]	ResultTransferOptions	generateOptions[out]	NodeId	fileNodeId[out]	UInt32	fileHandle[out]	NodeId	completionStateMachine);

Table 76 – GenerateFileForRead Method Arguments

Argument Description
generateOptions The structure used to define the generate options for the file.
fileNodeId NodeId of the temporary file
fileHandle The FileHandle of the opened TransferFile.
The FileHandle can be used to access the TransferFile methods Read and Close.
completionStateMachine If the creation of the file is completed asynchronously, the parameter returns the NodeId of the corresponding FileTransferStateMachineType Object.
If the creation of the file is already completed, the parameter is null.
If a FileTransferStateMachineType object NodeId is returned, the Read Method of the file fails until the TransferState changed to ReadTransfer.

Table 77 – GenerateFileForRead Method AddressSpace Definition

Attribute Value
BrowseName GenerateFileForRead
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
HasProperty Variable OutputArguments Argument[] PropertyType Mandatory

Previous Next