native FT_Read(id, const data{}, len);
Transmits the data to the system, to transfer it to the myDatanet server. The data must be provided by
the callback function specified via "FT_Register()".
Important note:
This function must be called up following receipt of a "FT_CMD_READ"
command.
Parameter
Explanation
id
Unique identification with which the file is referenced (specified during
registration)
data
Array that contains the data that should be transmitted to the system to be
transferred to the myDatanet server
len
Number of bytes to be transferred
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118)
native FT_Accept(id, newid=-1);
Accepts the file that the myDatanet server wants to write. It is a new file if the transferred unique
identification number ("id" parameter) refers to a file node. In this case, an unique identification number
("newid" parameter) must be assigned to the new file. The new file must also be registered via the "FT_
Register()" function. The file properties that were transmitted by the system to the callback function (see
"Callback functions" on page 189) must be saved via the "FT_SetProps()" function.
Important note:
This function must be called up following receipt of a "FT_CMD_STORE"
command.
Parameter
Explanation
id
Unique identification with which the file is referenced (specified during
registration)
newid
Unique identification for the new file that should be created (-1 if it is not a new
file) - OPTIONAL
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118)
192
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......