2 dataquery command, Table 86. supported modbus function codes – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual
Page 362

Section 8. Operation
362
is_read_only="false"
can_expand="true"/>
uri="dl:Public"
type="6"
is_enabled="true"
is_read_only="false"
can_expand="true"/>
JSON Response
When
json
is entered in the BrowseSymbols
format
parameter, the response will
be formated as CSIJSON
(p. 68).
Following is an example response.
{
"symbols": [
{"name": "Status","uri": "dl:Status","type": 6,"is_enabled":
true,"is_read_only": false,"can_expand": true},
{"name": "MainData","uri": "dl:MainData","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "BallastTank1","uri": "dl:BallastTank1","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "BallastTank2","uri": "dl:BallastTank2","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "BallastTank3","uri": "dl:BallastTank3","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "BallastTank4","uri": "dl:BallastTank4","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "BallastLine","uri": "dl:BallastLine","type":
6,"is_enabled": true,"is_read_only": false,"can_expand": true},
{"name": "Public","uri": "dl:Public","type": 6,"is_enabled":
true,"is_read_only": false,"can_expand": true}
]
}
8.6.3.4.2 DataQuery Command
DataQuery allows a web client to poll the CR800 for data. DataQuery typically
takes the form:
http://ip_address/?command=DataQuery&uri=dl:tablename.fieldname&
format=_&mode=_&p1=_&p2=_
DataQuery requires a minimum .csipasswd access level of 3 (read-only
)
.