Update cookies preferences
Promotic

GetVarCount - method of the PmaCommMsg object

Description:
Returns the number of variables defined on the "Data-sent" tab or on the "Data-received" tab of this object.
Syntax:
Long GetVarCount(Long nType)
Parameters:
nType(Long) Specifies the tab for which the number of variables is returned.
1 - The "Data-sent" tab.
2 - The "Data-received" tab.
See also:
- PmaData.Count (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oCommMsg = pMe.Pm("/CommMsg");
var nVarsSnd = oCommMsg.GetVarCount(1);

History:
Pm9.00.29: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.