Syntax | Description |
---|---|
unit<cr> | Show current setting of the unit command. |
unit [m|n]<cr> |
Set types of units used on the serial line. m = metric units, for example, Celsius n = non-metric units, for example, Fahrenheit |
Example (set units to non-metric):
|
Syntax | Description |
---|---|
form<cr> | Show the currently used measurement format. |
form /<cr> | Reset measurement format to default. |
form [sss]<cr> |
Set a new measurement format. sss = String consisting of modifiers and abbreviations for measured parameters. See Table 3 and Table 4. Maximum length 127 characters. |
Example: show currently used measurement format (default format shown):
Output example:
|
|
Example: set output format as RH and T, with start of text (ASCII character 002) and end of text (003) ASCII codes, and without line feed and carriage return at the end:
Output example (ASCII codes not visible here):
|
Measured parameter | Abbreviation in form command |
---|---|
Temperature | t |
Relative humidity | rh |
Dew point | td |
Enthalpy | h |
Wet bulb temperature | tw |
Modifier | Description |
---|---|
x.y | Length modifier (number of digits and decimal places) |
\t | Tabulator |
\r | Carriage return |
\n | Line feed |
\xxx | ASCII character with decimal code xxx |
"" | String constant |
ux | Name of the measurement unit using x number of characters. For example, u3 shows the name of the measurement unit with three characters. |
addr | Transmitter address |
sn | Transmitter serial number |
time | Time since transmitter was started or reset |
cs4 | Modulus-65536 checksum of message sent so far, ASCII encoded hexadecimal notation |
csx | NMEA xor-checksum of message sent so far, ASCII encoded hexadecimal notation |
You can also use the hash character # instead of the backslash character \. |