EasyManua.ls Logo

Calnex Sentinel - Page 68

Calnex Sentinel
93 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using Sentinel
CX3001 v7.0 © Calnex Solutions 68
calnexsol.com |
active
Limit the returned channel list to those channels that are enabled via the
mode page
Returns
JSON formatted list of installed channels:
{"channels": ["C", "D", "2"] }
Example
Browser
https://192.168.123.123/api/getchannellist
Curl
curl -k https://192.168.123.123/api/getchannellist?active
GetChannelDataTypes
API Call
/api/getchanneldatatypes
Summary
Get a list of all valid data types for all installed or enabled channels
Description
This service provides a JSON formatted list of data types for each of the installed channels. This list shows what
data types can be used with the
getdata
API call.
Parameters
Name
Description
Required
key
Authentication key obtained from
getkey
where enabled and
login
has
not been used
active
Limit the returned channel list to those channels that are enabled via the
mode page
Returns
JSON formatted list of installed channels:
{"channels":
[
{"C": {"dataTypes": [ "tie" ]}},
{"D": {"dataTypes": [ "tie" ]}},
{"2": {"dataTypes": [ "tie", "2wayte", "pd", "fwdpdv", "revpdv", "esmc" ]}}
]
}
Example
Browser
https://192.168.123.123/api/getchanneldatatypes?active&key=3823de38663…”
Curl
curl http://192.168.123.123/api/getchanneldatatypes
GetData
API Call
/api/getdata
Summary
Get measurement data for the specified data type and channel
Description
This service returns a CSV list of measurement points for the specified channel and datatype. The list returned
are those values for the specified parameters that have been measured since the last request.