Send data command (ad) – Vaisala WXT510 User Manual

Page 76

Advertising
background image

User’s Guide ______________________________________________________________________

74 __________________________________________________________________ M210470EN-D

Send Data Command (aD)

This command is used to request the measured data from the device. See

Examples of aM, aC and aD Commands on page 75

.

Command format: aDx!

The response:

a+<data fields><cr><lf>

NOTE

Start measurement command tells the number of parameters available.
However, the number of the parameters that can be included in a single
message depends on the number of characters in the data fields. If all
the parameters are not retrieved in a single response message, repeat
the Send data commands until all the data is obtained.

where
a

=

Device address

D

=

Send data command

x

=

The order of consecutive Send data commands.
Always, the first Send data command should be
addressed with x=0. If all the parameters are not
retrieved, the next Send data command is sent with
x=1 and so on. The maximum value for x is 9. See

Examples of aM, aC and aD Commands on page 75

.

!

=

Command terminator

where
a

=

Device address

<data
fields>

=

The measured parameters in selected units, separated
with '+' marks (or - marks in case of negative
parameter values).

<cr><lf>

=

Response terminator

NOTE

aD0 command can also be used to break the measurement in progress
started with commands aM, aMC, aC or aCC.

Advertising