beautypg.com

Form setting the output format, Form, Setting the output format – Vaisala HMP230 User Manual

Page 96

background image

HMP230 SERIES
Appendix 1: Serial commands

M210225en-B

90

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 state
and by SEND command. Please note that capital and small letters have dif-
ferent 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
\HH..HH\

enthalpy

\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 ex-
ample:

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"
?\

An example of a format suitable for use in Microsoft Excel spreadsheets:

>FORM
"xxx...xxx"
?\UUU.U\\t\TTT.T\\t\DDD.D\\t\AAA.A\\t\XXX.X\\t\WWW.W\\r\n