Campbell Scientific CR1000KD CR800 and CR850 Measurement and Control Systems - Page 359
BrowseSymbols Response
View all Campbell Scientific CR1000KD manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 359 highlights
Section 8. Operation Table 88. BrowseSymbols API Command Parameters Optional. Specifies the URI (p. 447) for the data source. When querying a CR800, uri source, tablename and fieldname are optional. If source is not specified, dl (CR800) is assumed. A field name is always specified in association with a table name. uri If the field name is not specified, all fields are output. If fieldname refers to an array without a subscript, all fields associated with that array will be output. Table name is optional. If table name is not used, the entire URI syntax is not needed. format Optional. Specifies the format of the response. The values html, json, and xml are valid. If this parameter is omitted, or if the value is html, empty, or invalid, the response is HTML. Examples: http://192.168.24.106/?command=BrowseSymbols&uri=dl:public&forma t=html Response: symbols for all tables are returned as HTML* http://192.168.24.106/?command=BrowseSymbols&uri=dl:MainData&for mat=html Response: symbols for all fields in a single table (MainData) are returned as HTML* http://192.168.24.106/?command=BrowseSymbols&uri=dl:MainData.Con d41&format=html Response: symbols for a single field (Cond41) are returned as HTML* BrowseSymbols Response The BrowseSymbols format parameter determines the format of the response. If a format is not specified, the format defaults to HTML. For more detail concerning data response formats, see the Data File Formats section. The response consists of a set of child symbol descriptions. Each of these descriptions include the following fields: Table 89. BrowseSymbols API Command Response name Specifies the name of the symbol. This could be a data source name, a station name, a table name, or a column name. uri Specifies the uri of the child symbol. type Specifies a code for the type of this symbol. The symbol types include the following: 6 - Table 7 - Array 8 - Scalar is_enabled Boolean value that is set to true if the symbol is enabled for scheduled collection. This applies mostly to LoggerNet data sources. 359