TransferFromDeviceinitiates the transfer of values from the physical device to corresponding Parametersin the offline representation of the Device. This Methodhas no input arguments. Which Parametersare transferred is based on Server-internal knowledge.
Once the transfer has been started successfully, the Methodreturns immediately with InitTransferStatus = 0. Any status information regarding the transfer itself has to be collected using the FetchTransferResultData Method.
The signature of this Methodis specified below. Table 50and Table 51specify the arguments and AddressSpacerepresentation, respectively.
Signature
TransferFromDevice(
[out] 0:Int32 TransferID,
[out] 0:Int32 InitTransferStatus);
Table 50– TransferFromDevice Method arguments
Argument |
Description |
TransferID |
Transfer 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 51– TransferFromDevice Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
TransferFromDevice |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
|
|
|
|
|
0:HasProperty |
Variable |
OutputArguments |
0:Argument[] |
0:PropertyType |
M |
Conformance Units |
|||||
DI Offline |