Campbell Scientific CR1000 Measurement and Control System User Manual

Page 377

Advertising
background image

Section 8. Operation

377

 

is_read_only

Boolean value that is set to true if the symbol is considered to
be read-only. A value of false would indicate an expectation
that the symbol value can be changed using the SetValueEx
command.

can_expand

Boolean value that is set to true if the symbol has child values
that can be listed using the BrowseSymbols command.

If the client specifies the URI for a symbol that does not exist, the server will
respond with an empty symbols set.

HTML Response

When

html

is entered in the BrowseSymbols

format

parameter, the response will

be HTML. Following are example responses.

HTML tabular response:

HTML page source:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>BrowseSymbols Response</title>
</head>

<body>
<h1>BrowseSymbols Response</h1>

<table border="1">
<tr>

<th>name</th><th>uri</th><th>type</th><th>is_enabled</th><th>is_
read_only</th><th>can_expand</th></tr><tr>

<td>Status</td><td>dl:Status</td><td>6</td><td>true</td><td>fals
e</td><td>true</td></tr><tr>

<td>MainData</td><td>dl:MainData</td><td>6</td><td>true</td><td>
false</td><td>true</td></tr><tr>

<td>BallastTank1</td><td>dl:BallastTank1</td><td>6</td><td>true<
/td><td>false</td><td>true</td></tr><tr>

<td>BallastTank2</td><td>dl:BallastTank2</td><td>6</td><td>true<
/td><td>false</td><td>true</td></tr><tr>

<td>BallastTank3</td><td>dl:BallastTank3</td><td>6</td><td>true<
/td><td>false</td><td>true</td></tr><tr>

<td>BallastTank4</td><td>dl:BallastTank4</td><td>6</td><td>true<
/td><td>false</td><td>true</td></tr><tr>

Advertising