January 2014 - TD 302 Operating Manual for Pressure 4117/4117R Tide 5217/5217R, Wave & Tide 5218/5218RPage 55
7.2.10
XML commands
The
Get ConfigXML
command outputs all available sensor properties in XML-format.
The
Get DataXML
command outputs all available sensor parameters in XML-format.
The
XML-output
is a general format shared by all Aanderaa smart sensors; the output from different types of smart
sensors can be read and present e.g. in a general smart sensor setup program. Refer
7.3
Examples of Smart Sensor Terminal communication
Use a terminal program e.g. Teraterm or Hyperterminal, refer chapter 7.2 for communication setup.
In the following examples the sensor update interval is 5 seconds. They illustrate several configuration changes. The
command
Stop
is recommended to avoid output strings while configuring the sensor.
Example 1: Enable Rawdata
//Press Enter to start communicating with the sensor, refer chapter 7.2.2.
↵
//press Enter
Stop
↵
//Wait for ack #. Repeat if necessary
Set Passkey(1)
↵
Set Enable Rawdata(yes)
↵
//wait for ack #
Save
↵
// wait for ack #
Reset
↵
// the sensor will restart with new settings
Example 2: Change Number of Samples to 2048
//Press Enter to start communicating with the sensor, refer chapter 7.2.2.
↵
//press Enter
Stop
↵
// Stop current measurement.
Wait for ack #. Repeat if necessary.
Set Passkey(1)
↵
//wait for ack #
Set Number of Sample(2048)
↵
//wait for ack #
Save
↵
// wait for ack #
Reset
↵
// the sensor will restart with new settings
Example 3: Disable wave measurement
//Press Enter to start communicating with the sensor, refer chapter 7.2.2.
↵
//press Enter
Stop
↵
// Stop current measurement.
Wait for ack #. Repeat if necessary.
Set Passkey(1)
↵
//wait for ack #
Set Enable Wave(no)
↵
//wait for ack #
Save
↵
// wait for ack #
Reset
↵
// the sensor will restart with new settings