Update cookies preferences
Promotic

InfoLogReg - method of the Pm object

Description:
Creates new user tab in the Debug item of the INFO system.
This tab can then be used to log texts by the Pm.InfoLogAdd method.
Syntax:
Empty InfoLogReg(String sId, String sPars)
Parameters:
sId(String) Identifier of the tab in the INFO system.
sPars(String) Additional parameters of the tab in the INFO system.
Entries are in the KeyVal format, for example "name:Log1;path:Comm/Comm1;maxrows:500;"
name (mandatory) - Displayed name of the tab in the INFO system. It must not be empty.
path - Path to registered item in the items tree inside Debug. The missing items contained in the path are created.
If the path is empty string (default) then the tab is created directly in the "Debug" item.
maxrows - Maximum row number on the "INFO" tab (default 200).
Note:
This method is also functional in Web panels.

After registering the tab, new entries can be added into this tab by the Pm.InfoLogAdd method.
Example:
Creating the Log1 tab in /Debug/Comm/Comm1 in the INFO system.
JavaScriptVBScriptSelect and copy to clipboard

Pm.InfoLogReg("log1", "name:Log1;path:Comm/Comm1;");

History:
Pm9.00.05: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- InfoLogReg
 
 
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.