TCP/IP read mclpower

From SmartSDR Wiki
Jump to: navigation, search

READ_MCLPOWER

Reads the power reading from an attached Mini-Circuits power meter. The power meter must be connected to the USB port on the rear of the radio. The power is sample for 1/2-second before the reading is provided so this command will consume a half-second of wall clock minimum. Providing the frequency in MHz is optional (see MCL power meter software guide for details on when or why this may be necessary).

C[D]<seq_number>|read_mclpower <frequency_MHz>

Example:

C19|read_mclpower 14

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000 <value> OK
5000008D   Power meter not successfully read or not connected

<value> is the value in dBm read from the power meter and may be positive or negative

Response Example:

R19|0|-10.11