beautypg.com

Vaisala HMP260 User Manual

Page 78

background image

HMP260 SERIES

HMP260-U017en-1.5

Appendix 1: Serial commands

FORM

Setting the output format

FORM

"xxx...xxx"

? zzz...zzz

xxx...xxx =

old format

zzz...zzz =

new format

The FORM command sets the format of the outputs generated in RUN mode and by
SEND command. Please note that capital and small letters have different
meanings
.

\UU..UU\

relative humidity

\TT..TT\

temperature

\DD..DD\

dewpoint temperature

\AA..AA\

absolute humidity

\XX..XX\

mixing ratio

\WW..WW\ wet bulb temperature
\uu..uu\

unit according to the preceding variable

\n

line feed

\r

carriage return

\t

horizontal tabulation or

\\

\

For example:

format: output:

\UUU.UU\ \+TT.TT\\r

100.00 +99.99

\TTT.T\ \uu\\r\n

15.2 'C

\UUU.U\ \uuu\\+DD.D\ \uu\\r

46.9 %RH +10.8 'C

Any text can be written in the command and it appears in the output. For example:

RH: \UUU.U\ T: \+TT.TT\\r

RH: 54.0 T: +25

The format can be deleted by giving \ as a parameter:

FORM \

Note. only one space before \ and none after

or

FORM

"xxx...xxx"

?\