Get parameter message - MD30

MD30 Interface Client

Document code
M212384EN
Revision
D
Language
English
Product
MD30
Document type
Technical description

The getparam command sends the GET PARAMETER message to MD30 and parses the response.

The command takes the parameter data ID as a parameter. Only numeric values are counted as parameters.

Example 1

/> getparam 0x20
/> Unit ID: 1, Client ID: 0, ID: 0x40, Nb: 19, Len: 6, icd_version: D, Err: 0
ID: 0x20 Value: 0 (Autosend data interval)

Example 2

/> getparam 0x51
/> Unit ID: 1, Client ID: 0, ID: 0x40, Nb: 20, Len: 8, icd_version: D, Err: 0
ID: 0x51 Value: 8.65744 (Reference value of laser 2)

Example 3

The given ID 0x15 is undefined, which causes an invalid data error (error code = 4).

/> getparam 0x15
/> Unit ID: 1, Client ID: 0, ID: 0x40, Nb: 21, Len: 2, icd_version: D, Err: 4
Error reading data
For an explanation of the error codes, see Vaisala Mobile Detector MD30 Interface Description.