Skip to content

Display Commands

github-actions[bot] edited this page Jun 15, 2026 · 1 revision

Display Commands

Generated from FlexLib v4.2.18

Panadapter and waterfall display control


Wire Protocol

Commands follow the FlexRadio TCP wire protocol:

C[D]<seq_number>|<command> [sub-command] [parameters]

Where:

  • C = Command prefix
  • D = Optional debug flag
  • <seq_number> = Sequence number for command tracking
  • <command> = Primary command word
  • [sub-command] = Optional sub-command
  • [parameters] = Command-specific parameters

Responses follow the format:

R<seq_number>|<result_code>|<data>|[debug_info]

Where:

  • R = Response prefix
  • <seq_number> = Matching sequence number from command
  • <result_code> = Result code (0 = success, non-zero = error)
  • <data> = Command-specific response data
  • [debug_info] = Optional debug information

Common Response Codes

Code Meaning
0 Success
50000001 Unable to get foundation receiver assignment
50000003 License check failed
50000004 Parameter error
50000005 Incorrect number or type of parameters
50000016 Malformed command
5000002C Incorrect number of parameters
50000032 Bad mode

Commands

display pan rfgain_info 0x...

The Panadapter object constructor

Syntax:

C<seq>|display pan rfgain_info 0x<streamid>

Parameters:

Parameter Description
<streamid>

Response Example:

R<seq>|0||

display pan set 0x...

Syntax:

C<seq>|display pan set 0x<streamid> <parameter>=<value>
Parameter Description
wnb Enables or disables the Wideband Noise Blanker (WNB) for the Panadapter.
wnb_level Gets or sets the Wideband Noise Blanker (WNB) level from 0 to 100.
rxant Gets whether the Noise Blanker is currently updating
rfgain Gets whether the Noise Blanker is currently updating
daxiq_channel
xpixels
ypixels
band
center
bandwidth
min_dbm
max_dbm
fps
pan_position
pan_position_enable
average
weighted_average A list of the available RX Antenna ports on the radio, i.e. "ANT1", "ANT2", "RX_A", "RX_B", "XVTR"
n1mm_spectrum_enable
n1mm_address
n1mm_port
n1mm_radio
loopa
loopb

Response Example:

R<seq>|0||

display pan set 0x... xpixels=... ypixels=...

Syntax:

C<seq>|display pan set 0x<stream_id> xpixels=<w> ypixels=<h>

Parameters:

Parameter Description
<stream_id>
<w> Valid values: OFF, EXCELLENT, VERYGOOD, GOOD, FAIR, POOR
<h>

Response Example:

R<seq>|0||

display pan remove 0x...

Close

Syntax:

C<seq>|display pan remove 0x<streamid>

Parameters:

Parameter Description
<streamid>

Response Example:

R<seq>|0||

led_display set bright=...

The front panel Flexradio Logo backlight brightness for radio models with a backlit front panel

Syntax:

C<seq>|led_display set bright=<backlight>

Parameters:

Parameter Description
<backlight>

Response Example:

R<seq>|0||

display panafall create x=100 y=100

Request Panafall

Syntax:

C<seq>|display panafall create x=100 y=100

Response Example:

R<seq>|0||

display panafall rfgain_info 0x...

Syntax:

C<seq>|display panafall rfgain_info 0x<stream_id>

Parameters:

Parameter Description
<stream_id>

Response Example:

R<seq>|0||

display panafall set 0x...

Syntax:

C<seq>|display panafall set 0x<stream_id> <parameter>=<value>
Parameter Description
rxant
rfgain
daxiq_channel
xpixels
ypixels
band
center
bandwidth
min_dbm
max_dbm
fps
average
weighted_average
loopa
loopb
line_duration
black_level
color_gain
auto_black
gradient_index

Response Example:

R<seq>|0||

display panafall remove 0x...

Close

Syntax:

C<seq>|display panafall remove 0x<stream_id>

Parameters:

Parameter Description
<stream_id>

Response Example:

R<seq>|0||

Clone this wiki locally