beautypg.com

Configuring measurement parameters, Set measurement output format – Vaisala DMT143 User Manual

Page 49

background image

Chapter 5 _________________________________________________________________ Operation

VAISALA ________________________________________________________________________ 47

Configuring Measurement Parameters

Set Measurement Output Format

Use the serial line command FORM to change the measurement message
sent by the transmitter. You can freely define the output message to
include the desired parameters, formatting options, text strings, and
additional fields.

FORM [modifier string]

where

modifier string = String of parameters and modifiers that defines the

output format, length 1 ... 153 characters.
Maximum length may be shorter when text strings
are used. See Table 8 and Table 9 on page 48, and
examples below.

You can return to the default format using the "FORM /" command.

Example of default output (continuous output from RUN mode):

Tdf= -9.80 'C Tdfatm= -9.80 'C H2O= 2618 ppm
Tdf= -9.80 'C Tdfatm= -9.80 'C H2O= 2617 ppm
...

Command to set output format as Tdf and ppm with Modulus-256
checksum:

form 3.2 "Tdf=" Tdf U3 6.0 "H2O=" H2O " " U5 CS2 \r \n

Output example:

Tdf= -9.74'C H2O= 2632 ppm C4
Tdf= -9.72'C H2O= 2636 ppm C6
...

Command to set output format as Tdf and ppm, with start of text (ASCII
character 002) and end of text (003) ASCII codes, and without line feed
and carriage return at the end:

form #002 3.2 "Tdf=" Tdf U3 6.0 "H2O=" H2O " " U5 #003

Output example (ASCII codes not visible here):

Tdf= -9.57'C H2O= 2671 ppm Tdf= -9.59'C H2O= 2666 ppm
Tdf= -9.61'C H2O= 2662 ppm Tdf= -9.62'C H2O= 2660 ppm

...