Promotic

InfoWriteToString - method of the Pm object

Description:
Returns the content of the tab of the INFO system in the form of a string.
Syntax:
String InfoWriteToString(String sInfoPath, String sInfoName, String sOptions)
Parameters:
sInfoPath(String) Path to the item of the INFO system.
It is for example "COMM/PmModbusMr_0" for communication.
Caution: this isn't a path in the Pma objects tree. This is the path in the tree when viewing the INFO system!
sInfoName(String) The item name, which is the name of the tab in the INFO system.
It is for example "Monitor" for "COMM/driver" item.
If "$all" is entered, then the write is executed for all tabs contained in corresponding item.
sOptions(String) Specifies how the tab content will be written. Entries are in the KeyVal format, for example "add:1;empty:0;header:compact;".
empty - Specifies whether an empty tab will be written.
0 (default) - do not write empty tab
1 - write also the empty tab
header - Specifies how to write the tab header.
compact (default) - write header in high density in a single row without the time
full - write the header to multiple rows including the time
Note:
This method is not functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var sInfo = Pm.InfoWriteToString("Errors", "Global", "header:compact;");

History:
Pm9.00.24: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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