Promotic
WikipediaLinkedInYoutubeTwitterFacebook

InfoLogReg - method of the Pm object

Description:
Creating the tab in the INFO system.
Syntax:
Empty InfoLogReg(String sId, String sPars)
Calling:
Pm.InfoLogReg(sId, sPars)
Parameters:
sId(String) Identifier of the tab in the INFO system.
sPars(String) Additional parameters of the tab in the INFO system in KeyVal format. For example "name:Log1;path:Comm/Comm1;maxrows:500;"
name (mandatory) - Tab name to be dispayed in the INFO system. It must not be empty.
path - Path to registered item in the items tree inside Debug_info. The missing items contained in the path are created.

If the path is empty (default) then the tab is created directly in the "Debug_info" item.

maxrows - Maximum number of rows in the INFO tab (200 by default).
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_info/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.11 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.Tavičská 845/21 703 00 Ostrava-Vítkovice