Eform defining the error output format – Vaisala PTU200 User Manual

Page 18

Advertising
background image

U

SER

'

S

G

UIDE

_______________________________________________________________________

14 ___________________________________________________________________ M210195

EN

-A

Example of setting the output format:

>form
P1 " " UUU " " T " " UU " " RH " " UUU \r \n
? 4.1 P " " UUU " " "Tend" " " 1.0 A " " 3.1 T UU " "
3.0 RH UUU \r \n
>send
1007.9 hPa Tend 7

24.9'C

28%RH

>

Inspecting the output format:

>form
P1 " " UUU " " T " " UU " " RH " " UUU \r \n
?<esc>

Use E

SC

-key to abort without changing the settings.

EFORM Defining the error output format

EFORM <cr>

The EFORM command can be used to define a user specific error
output format for the serial line. In case of an error, the transmitter
outputs the defined format instead of *****.

Example of an EFORM definition:

>eform <cr>

? "ERROR" \r \n <cr>
>send

1007.8 hPa

OK

(correct operation)

>send <cr>

ERROR

(incorrect operation)

>

Any previous EFORM definition may be removed with the following
command:

>eform * <cr>
>

Advertising