Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AutoOffset - property of object PmBuffer

Description:
The internal automated positioning in the data block works automatically (but can also be set by script). After each successfull read/write operation of a value in the data block, this property is automatically set to the end (behind) yhe read/written value (to the beginning of next read/written value). This can be used for continuous value reading/writing or for detecting the number of read/written bytes by the difference of the value of this property before the operation and after the operation. The read/write position is available in the form of parameter nOffset in each method working with the item or a portion of the data block, where the value -4 means that the value of this internal positioning AutoOffset is used.
Syntax:
Long AutoOffset
Calling:
s = oBuffer.AutoOffset
Note:
Property access for read and write.

History:
Pm9.00.04: Created
PROMOTIC 9.0.4 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice