User Manual For - CONTROLLER/DATA RECORDER MultiCon CMC-99/141
Obtaining measurements (cmd=current):
Current measurements can be obtained by using value
current
of
cmd
parameter. This
feature should not be used as a replace of recording data functionality because it causes high
device load. Use this feature to sporadic device measurement check.
Example of query viewing settings of channel 2 to 11:
http://192.168.1.176/cgi-bin/data.cgi?cmd=current&id_first=1&id_last=10
Obtaining settings (cmd=settings):
Current channels settings can be obtained by using value
settings
of
cmd
parameter.
This feature should not be used as a replace of recording data functionality because it causes
high device load. Use this feature to sporadic device settings check.
Example of query viewing all channels settings:
http://192.168.1.176/cgi-bin/data.cgi?cmd=settings
If valid data query is performed and no data can be returned (example:
requesting list of logs but there was no logs on device or given boundaries are
outside available ID range) the blank page will be returned.
If valid data query is performed but data requested not exists on the device
(example: requesting data of non existent log) the error page
“404: Not found”
will
be returned.
If invalid query is performed the error page
“400: Bad request”
with
inappropriate error message will be returned.
Obtaining general device logging information (cmd=main_log):
To obtain current device logging information a
main_log
parameter can be used. There
must be specified additional parameter called
file
. Values must be one of following:
1)
logs
– returns list of past and current logs,
2)
cons_dev_info
– returns device information (similar to the
cmd=info
parameter),
3)
dev_settings
– returns other recorded device information (currently returns blank
page – reserved for future use),
4)
event_log
– returns recorded events (currently returns blank page – reserved for
future use),
Example of query viewing information about all logs:
http://192.168.1.176/cgi-bin/data.cgi?cmd=main_log&file=logs
295
i