Chapter 13 Device Logic (Pawn)
native FT_SetProps(id, stamp, size, crc, flags);
Sets the properties of a file
Important note:
This function must be called up following receipt of a "FT_CMD_LIST"
command.
Important note:
Although this function will still be supported for the purpose of downward
compatibility, it should no longer be used for new projects. The "FT_SetPropsExt()" function
should be used as an alternative.
Parameter
Explanation
id
Unique identification with which the file is referenced (specified during
registration)
stamp
Time stamp of the file (seconds since 31.12.1999)
size
File size in byte
crc
Ethernet CRC32 of the file
flags
File flags (see "File flags" in chapter "Constants" on page 188)
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_SetPropsExt(id, props[TFT_Info], len=sizeof props);
Sets the properties of a file (extended format)
Important note:
This function must be called up following receipt of a "FT_CMD_LIST"
command.
Parameter
Explanation
id
Unique identification with which the file is referenced (specified during
registration)
props
Structure that contains the properties of a file entry (see "TFT_Info" in chapter
"Arrays with symbolic indices" on page 188)
len
Size (in cells) of the structure that contains the properties of a file entry –
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)
Rev. 05
191
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: ......