-
Notifications
You must be signed in to change notification settings - Fork 0
Slice Commands
Slice commands control receiver slices in the FlexRadio. Each slice represents an independent receiver that can be tuned to different frequencies and configured with different parameters.
Warning
This has been generated by AI and accuracy is not guaranteed.
Create a new slice receiver.
C[D]<seq_number>|slice create [freq=<MHz>][pan=<streamID>][rxant=<antenna_port>][mode=<mode>][load_from=<source>][clone_slice=<index>]
Parameters:
-
<MHz>= frequency in MHz, up to 15 significant digits -
<streamID>= stream identification for panadapter association -
<antenna_port>= antenna designator: ANT1, ANT2, RXA, RXB, or XVTR -
<mode>= alphanumeric mode designator: USB, LSB, CW, AM, FM, etc. -
<source>= PERSISTENCE or clone -
<index>= slice index to clone from
Example:
C21|slice create freq=14.230 pan=0x40000000 rxant=ANT1 mode=USB
Response:
R21|0|2|slice created on 14.230000 MHz on ANT1 (success - slice index 2)
R21|50000001||Unable to create slice (error - no receivers available)
Response Codes:
| Hex Code | Meaning |
|---|---|
| 00000000 | Success - slice receiver created |
| 50000001 | Unable to get foundation receiver assignment |
| 50000003 | License check failed, cannot create slice receiver |
| 50000004 | Slice parameter error |
| 50000005 | The number or type of parameters supplied is incorrect |
| 50000016 | Malformed command |
| 5000002C | Incorrect number of parameters |
| 50000032 | Bad mode |
Create a cloned slice from an existing slice.
C[D]<seq_number>|slice create clone_slice=<slice_index> pan=<streamID> load_from=clone
Parameters:
-
<slice_index>= index of the slice to clone -
<streamID>= stream identification for panadapter association
Example:
C22|slice create clone_slice=0 pan=0x40000001 load_from=clone
Response:
R22|0|3|cloned slice created (success - slice index 3)
R22|50000004||Invalid source slice (error - source slice doesn't exist)
Lock a slice frequency to prevent tuning changes.
C[D]<seq_number>|slice lock <slice_index>
Parameters:
-
<slice_index>= slice number to lock
Example:
C23|slice lock 0
Response:
R23|0|| (success - slice locked)
Create a slice at a specific frequency on a panadapter.
C[D]<seq_number>|slice m <frequency> pan=<stream_id>
Parameters:
-
<frequency>= frequency in MHz -
<stream_id>= panadapter stream ID
Example:
C23a|slice m 14.230 pan=0x40000000
Response:
R23a|0|2| (success - slice index 2)
Remove a slice receiver.
C[D]<seq_number>|slice remove <slice_index>
Parameters:
-
<slice_index>= slice number to remove
Example:
C24|slice remove 0
Response:
R24|0|| (success - slice removed)
R24|50000014||Slice not found (error - slice doesn't exist)
Response Codes:
| Hex Code | Meaning |
|---|---|
| 00000000 | Success - slice receiver deleted |
| 50000005 | The number or type of parameters supplied is incorrect |
| 534C9999 | The slice number provided is invalid |
Configure various slice parameters. All set commands follow the pattern:
C[D]<seq_number>|slice set <slice_index> <parameter>=<value>
Available Parameters:
| Parameter | Value Range | Description |
|---|---|---|
active |
0|1 |
Set slice as active slice |
agc_mode |
off|slow|med|fast |
Set AGC mode |
agc_off_level |
0-100 |
Set AGC off level |
agc_threshold |
0-100 |
Set AGC threshold |
anf |
0|1 |
Enable/disable auto notch filter |
anf_level |
0-100 |
Set auto notch filter level |
anft |
0|1 |
Enable/disable ANFT |
apf |
0|1 |
Enable/disable auto peak filter |
apf_level |
0-100 |
Set auto peak filter level |
audio_level |
0-100 |
Set slice audio level |
audio_mute |
0|1 |
Mute/unmute slice audio |
audio_pan |
0-100 |
Set audio pan position (50=center) |
dax |
channel |
Set DAX channel assignment |
dfm_pre_de_emphasis |
0|1 |
Set DFM pre/de-emphasis |
digl_offset |
Hz |
Set DIGL offset frequency |
digu_offset |
Hz |
Set DIGU offset frequency |
diversity |
0|1 |
Enable/disable diversity reception |
fm_deviation |
Hz |
Set FM deviation |
fm_repeater_offset_freq |
MHz |
Set FM repeater offset frequency |
fm_tone_burst |
0|1 |
Enable/disable FM 1750Hz tone burst |
fm_tone_mode |
off|ctcss_tx |
Set FM tone mode |
fm_tone_value |
tone_freq |
Set FM tone value |
lms_anf |
0|1 |
Enable/disable LMS Auto Notch Filter |
lms_anf_level |
0-100 |
Set LMS ANF level |
lms_nr |
0|1 |
Enable/disable LMS Noise Reduction |
lms_nr_level |
0-100 |
Set LMS NR level |
loopa |
0|1 |
Enable/disable loop A |
loopb |
0|1 |
Enable/disable loop B |
mode |
USB|LSB|CW|AM|FM|DIGU|DIGL|SAM|DSB |
Set slice demodulation mode |
nb |
0|1 |
Enable/disable noise blanker |
nb_level |
0-100 |
Set noise blanker level |
nr |
0|1 |
Enable/disable noise reduction |
nr_level |
0-100 |
Set noise reduction level |
nrf |
0|1 |
Enable/disable NRF |
nrf_level |
0-100 |
Set NRF level |
play |
0|1 |
Control audio playback |
record |
0|1 |
Control audio recording |
repeater_offset_dir |
simplex|up|down |
Set repeater offset direction |
rfgain |
value |
OBSOLETE - Use display pan set <stream_id> rfgain=<value> instead |
rit_freq |
-99999 to 99999 |
Set RIT frequency offset in Hz |
rit_on |
0|1 |
Enable/disable RIT |
rnnoise |
0|1 |
Enable/disable RNNoise |
rtty_mark |
Hz |
Set RTTY mark frequency |
rtty_shift |
Hz |
Set RTTY shift frequency |
rxant |
ANT1|ANT2|RXA|RXB|XVTR |
Set receive antenna |
speex_nr |
0|1 |
Enable/disable Speex Noise Reduction |
speex_nr_level |
0-100 |
Set Speex NR level |
squelch |
0|1 |
Enable/disable squelch |
squelch_level |
0-100 |
Set squelch level |
step |
Hz |
Set tuning step size |
step_list |
step1,step2,step3,... |
Set tuning step list |
tx |
0|1 |
Set slice as transmit slice |
tx_offset_freq |
MHz |
Set transmit offset frequency |
txant |
ANT1|ANT2|XVTR |
Set transmit antenna |
wnb |
0|1 |
Enable/disable wideband noise blanker |
wnb_level |
0-100 |
Set wideband noise blanker level |
xit_freq |
-99999 to 99999 |
Set XIT frequency offset in Hz |
xit_on |
0|1 |
Enable/disable XIT |
Examples:
C25|slice set 0 active=1
C26|slice set 0 mode=USB
C27|slice set 0 audio_level=75
C28|slice set 0 agc_mode=fast
C29|slice set 0 rxant=ANT1
C30|slice set 0 nb=1 nb_level=50
C31|slice set 0 lms_nr=1 lms_nr_level=75
C32|slice set 0 rnnoise=1
Notes:
-
Noise Reduction: Multiple noise reduction types available:
-
nr/nr_level- Standard noise reduction -
lms_nr/lms_nr_level- LMS (Least Mean Squares) legacy noise reduction -
rnnoise- AI-based RNNoise algorithm -
nrf/nrf_level- Noise Reduction with Filter -
speex_nr/speex_nr_level- Speex noise reduction
-
-
Noise Blanker: Use
nbto enable andnb_levelto set the threshold (0-100) -
Auto Notch Filter: Multiple ANF types:
-
anf/anf_level- Standard auto notch filter -
anft- FFT-based auto notch filter -
lms_anf/lms_anf_level- LMS legacy auto notch filter
-
-
OBSOLETE:
rfgainparameter is obsolete - use Display Pan commands instead -
Filter Control: For filter bandwidth control, see Filter Commands (
filtcommand)
Response Codes:
| Hex Code | Meaning |
|---|---|
| 00000000 | Success - update successful |
| 5000000F | Invalid DSP process (the process you attempted to set is not in this signal chain) |
| 50000016 | Malformed command |
| 5000002D | Bad field |
| 5000002F | Unimplemented mode (mode recognized, but not yet implemented) |
| 50000030 | Signal chain error - likely bad mode |
| 50000032 | Unrecognized mode (string) |
| 50000033 | Parameter out of range |
Tune a slice to a specific frequency.
C[D]<seq_number>|slice tune <slice_index> <freq> [autopan=<0|1>]
Parameters:
-
<slice_index>= slice number to tune -
<freq>= frequency in MHz -
autopan= optional parameter to control automatic panadapter panning (default=0)
Example:
C25|slice tune 0 14.230000 autopan=0
Response:
R25|0|14.230000| (success - actual frequency set)
R25|50000004||Invalid frequency (error - frequency out of range)
Response Codes:
| Hex Code | Meaning |
|---|---|
| 00000000 | Success - slice tuned successfully |
| 50000005 | The number or type of parameters supplied is incorrect |
| 5000000C | The frequency requested is out of range |
| 5000000D | Invalid slice receiver number |
| 5000001D | Insufficient resources to tune to that frequency (requires new minimixer, not available) |
| 534C9999 | The slice number provided is invalid |
Automatically tune a slice.
C[D]<seq_number>|slice auto_tune <slice_index> [int=<0|1>]
Parameters:
-
<slice_index>= slice number to auto-tune -
int= optional intermittent flag (0=continuous, 1=intermittent)
Example:
C25a|slice auto_tune 0 int=0
Response:
R25a|0|| (success - auto-tune started)
Send a waveform command to a slice.
C[D]<seq_number>|slice waveform_cmd <slice_index> <command>
Parameters:
-
<slice_index>= slice number -
<command>= waveform command to send
Example:
C25b|slice waveform_cmd 0 <command_here>
Response:
R25b|0|| (success - command sent)
Note
More information needed on valid waveform commands.
Unlock a slice frequency to allow tuning changes.
C[D]<seq_number>|slice unlock <slice_index>
Parameters:
-
<slice_index>= slice number to unlock
Example:
C26|slice unlock 0