3 control commands, Control commands – Campbell Scientific RTMC Pro Real-Time Monitor and Control Professional Software User Manual

Page 66

Advertising
background image

RTMC Pro

Datalogger

In these examples, you are directly accessing the datalogger at 192.168.12.55.

92.168.12.55/?command=browsesymbols&format=html

ml

the Public

ble:

68.4.14/?command=browsesymbols&uri=Public.flag&format=

html

4.4.3 Control Commands

The SetValueEx command is used to set a value in the datalogger. For the CSI

must

the same session) or the command will fail.

mand will fail. SetValueEx has the following

parts:

should be set in the format of

source_name:station_name.table_name.field_name.

hich the URI should be set.

ult of the command.

Options are HTML, JSON, or XML. A result code and

Code Description

• To return all tables in a datalogger:


http://1

• To return all fields in the Public table:


http://192.168.4.14/?command=browsesymbols&uri=Public&format=ht

• To return all the elements in the Flag array, which is part of

ta

http://192.1

SetValueEx

Web Server, a user name and password that has at least read/write rights
be entered (or previously entered in
Likewise, for direct datalogger access, if a .csipasswd file has been sent to the
datalogger, a user name and password must be entered (or previously entered
in the same session) or the com

URI

The URI specifies the value that

Value

The new value to w

Format

The Format is the file format for the res

description are returned.

0

An unrecognized failure occurred

rNet

sources only)

4

Blocked by LoggerNet security (LoggerNet
data sources only)

5 Read

only

1 Success

2

The data-source connection failed (Logge
data sources only)

3

LoggerNet logon failed (LoggerNet data

60

Advertising