Setcom – Vaisala WAC155 User Manual

Page 43

Advertising
background image

Chapter 4 ________________________________________________________________ Operation

VAISALA _______________________________________________________________________ 41

Example:

>setmea offset 0.318

GAIN = 0.09853

OFFSET = 0.31800

POWERSAVE = 1

ALLOWEDSPDCHANGE = 10.0

MAXINVALIDSPDCOUNT = 2

>

SETCOM

The SETCOM command configures the communication ports. Default
communication port settings are 9600-n-8-1.

SETCOM [portnumber] [baudrate] [databits] [stopbits] [parity]
[txddelay] <value><cr>

Example:

>setcom baudrate 9600

BAUDRATE = 9600

DATABITS = 8

PARITY = NONE

STOPBITS = 1

TXDDELAY = 30

>

where

portnumber= The number of the COM port to configure, 0 or 1. If

omitted, the configuration will apply to the current port
in use.

baudrate

= The baud rate of the port. Possible values: 300 600 1200

2400 4800 9600 19200

databits

= The number of data bits, 7 or 8

stopbits

= The number of stop bits, 1 or 2

parity

= The parity to be used. Possible values: ODD EVEN

NONE

txddelay

= The RS-485 half-duplex transmission turn-around delay

in milliseconds, range 0 .. 200

value

= The value for the option.

Advertising