1) New command line options are supported:
-(c)onnect: automatic connection to the server
-(u)pdate: automatic put cmlog into updating mode with a selection message specified in a config file
-f filename:use provided config file
-cfg file: use provided config file
-q: do a query with a query message and a time
interval provided in a config file
-hu: do a query with a query message and a time
interval specified in a config file and put
cmlog into updating mode
-h: this help
2) Configuration file can specify a query message which will appear
in the query dialog box for all the query selections.
Notice that the query string needs quotes around it like this:
queryMessage "Domain like 'ORC'" -24:00 now
3) Configuration file can specify a update message which will appear
in the update dialog box for all the updating selections.
Notice that the update string needs quotes around it like this:
updateMessage "Name like 'ODF' && Domain like 'ORC'"
I recommend always using the 'like' verb instead of
the == (equal) verb when dealing with strings in updateMessage and quiryMessage. That's because the like
verb will eliminate any errors due to leading or trailing blanks in the
object of the query.
4) Configuration file can name the configuration. The configuration
name will appear on top of the window.
5) Long query can be canceled. If a user selects to get all messages
from query dialog box, a cancel dialog box will appear during the
query to enable the user to cancel the query.
6) Supports integer to string conversion, color coding a field and< blinking a color coded field. This option is fairly complex, and is
configured by a config file. The following is an example.
CodeConversion "none" Status
0 ok green
1 info blue
2 warning yellow
-1 error red flash
The above segment states that all integer status values of 0, 1, 2, -1
Will be converted to strings of "green", "blue", "yellow", "red". The
"red" field will flash (blink). The second field of the first line
("none") identifies sources of data. In particular cmlog converts
integer fields to string representations the same way regardless
data sources if "none" is specified. The following example illustrates
how data conversions are done for different data sources.
CodeConversion "Facility == 'EPICS' " Severity
100 info green
101 info1 blue
102 warning yellow flash
110 error red flash
codeConversion "Facility == 'SLC' " Severity
200 info green
201 info1 blue
202 warning yellow flash
210 error red flash
7) A simple query message helper button is added on the query dialog
box. Pressing message helper button bring out a dialog box that
constructs simple query messages.
8) Users can save whatever in the display to a file in ascii form by
using "Save Screen" menu.
9) The "Save Current Setting" menu entry saves everything that can be configured from a configuration file.
10) Miscellaneous menu entries are added for convenience.
RETURN TO SLAC CMLOG HOME PAGE
SLAC Last modified: 12-Aug-
2000 by Ron MacKenzie