Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetSize - method of the PmBuffer object

Description:
Detects data block size.
Syntax:
Long GetSize()
Note:
This method is also functional in Web panels.
See also:
- PmBuffer.SetSize (method)
Example:
JavaScriptSelect and copy to clipboard

var oBuf = Pm.CreatePmBuffer();
var s1 = "40302010605070";
oBuf.SetHexaString(-2, s1);
var nSize = oBuf.GetSize();  //nSize = 7

History:
Pm9.00.04: Created
PROMOTIC 9.0.13 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