Set output format – Vaisala HMW90 User Manual

Page 55

Advertising
background image

Chapter 4 _________________________________________________________________ Operation

VAISALA ________________________________________________________________________ 53

Set Output Format

Use the serial line command FORM to change the measurement message

sent by the transmitter on the service port. You can freely define the

output message to include the desired parameters, formatting options,

text strings, and additional fields.
FORM [modifier string]<cr>

where
modifier string = String of parameters and modifiers that defines the

output format, length 1 ... 150 characters.

Maximum length may be shorter when text strings

are used. See Table 9 and Table 10 on page 54,

and examples below.

Command to set default format:

>form /

Example of default output:

RH = 5.17 %RH T = 24.33 'C

RH = 5.17 %RH T = 24.33 'C

RH = 5.18 %RH T = 24.33 'C

RH = 5.18 %RH T = 24.33 'C

...

Command to set output format as Tdf and T with Modulus-256

checksum:

>form "Tdf =" U3 4.2 tdf " T =" U3 3.2 t CS2 \r \n

Output example:

Tdf = -15.72 'C T = 24.38 'C C9

Tdf = -15.71 'C T = 24.38 'C C8

Tdf = -15.71 'C T = 24.38 'C C8

Tdf = -15.69 'C T = 24.38 'C CF

...

Command to set output format as Tdf and T, 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 "Tdf =" U3 3.2 tdf " T =" U3 3.2 t #003

Output example (ASCII codes not visible here):

Tdf =-15.14 'C T = 24.40 'CTdf =-15.14 'C T = 24.40 'CTdf

=-15.14 'C T = 24.40 'CTdf =-15.14 'C T = 24.40 'CTdf =-

15.13 'C T = 24.40 'CTdf =-15.13 'C T = 24.40 'C ...

Advertising