Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarArray - method of the PmaData object

Description:
Creates an array of values from all object variables.
Syntax:
Array GetVarArray()
Calling:
arr = oData.GetVarArray()
Note:

Values from so created 1-dimensional array can be assigned to variables of the "Data" tab by calling the SetVarArray and SetVarSubArray methods.

The GetVarSubArray method serves for getting 1-dimensional array of specified variables values on the "Data" tab.

Example:
JavaScriptVBScriptSelect and copy to clipboard

var oData = pMe.Pm("/Data");
var arr = oData.GetVarArray();
PROMOTIC 9.0.12 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