User Manual For - CONTROLLER/DATA RECORDER MultiCon CMC-99/141
Obtaining measurements (cmd=current):
Current measurements can be obtained by using the value
current
of the
cmd
parameter. This feature should not be used as a replacement of recording data functionality
because it causes high device load. Use this feature for sporadic device measurement
checks.
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 the value
settings
of the
cmd
parameter. This feature should not be used as a replacement of recording data functionality
because it causes high device load. Use this feature for sporadic device settings checks.
Example of query viewing all channels settings:
http://192.168.1.176/cgi-bin/data.cgi?cmd=settings
If a 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 a valid data query is performed but data requested does not exist on the
device (example: requesting data of non existent log) the error page
“404: Not
found”
will be returned.
If an invalid query is performed the error page
“400: Bad request”
with
an inappropriate error message will be returned.
Obtaining general device logging information (cmd=main_log):
To obtain the current device logging information the
main_log
parameter can be used.
There must be a specified additional parameter called
file
. Values must be one of the
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
326
i