6.4.5 TransferFromDevice Method

TransferFromDevice initiates the transfer of values from the physical device to corresponding Parameters in the offline representation of the Device. This Method has no input arguments. Which Parameters are transferred is based on Server-internal knowledge.

Once the transfer has been started successfully, the Method returns immediately with InitTransferStatus = 0. Any status information regarding the transfer itself has to be collected using the FetchTransferResultData Method.

The signature of this Method is specified below. Table 56 and Table 57 specify the arguments and AddressSpace representation, respectively.

Signature

	TransferFromDevice(
	
	  [out] 0:Int32                TransferID,
	  [out] 0:Int32                InitTransferStatus);
Table 56 – TransferFromDevice Method arguments
Argument Description
TransferIDTransfer Identifier. This ID has to be used when calling FetchTransferResultData.
InitTransferStatus

Specifies if the transfer has been initiated.

0 – OK

-1 – E_NotLocked – the Device is not locked by the calling Client

-2 – E_NotOnline – the Device is not online / cannot be accessed

Table 57 – TransferFromDevice Method AddressSpace definition
Attribute Value
BrowseName1:TransferFromDevice
References NodeClass BrowseName DataType TypeDefinition Other
0:HasPropertyVariable0:OutputArguments0:Argument[] 0:PropertyTypeM
Conformance Units
DI Offline