WX GUI Constellation Sink
wxgui_constellationsink2
WX GUI Widgets
from gnuradio.wxgui import constsink_gl
#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
constsink_gl.const_sink_c(
$(parent).GetWin(),
title=$title,
sample_rate=$samp_rate,
frame_rate=$frame_rate,
const_size=$const_size,
M=$M,
theta=$theta,
loop_bw=$loop_bw,
fmax=$fmax,
mu=$mu,
gain_mu=$gain_mu,
symbol_rate=$symbol_rate,
omega_limit=$omega_limit,
#if $win_size()
size=$win_size,
#end if
)
#if not $grid_pos()
$(parent).Add(self.$(id).win)
#else
$(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
#end if
set_sample_rate($samp_rate)
Title
title
Constellation Plot
string
Sample Rate
samp_rate
samp_rate
real
Frame Rate
frame_rate
5
real
Constellation Size
const_size
2048
real
M
M
4
int
Theta
theta
0
real
Loop Bandwidth
loop_bw
6.28/100.0
real
Max Freq
fmax
0.06
real
Mu
mu
0.5
real
Gain Mu
gain_mu
0.005
real
Symbol Rate
symbol_rate
samp_rate/4.
real
Omega Limit
omega_limit
0.005
real
Window Size
win_size
int_vector
#if $win_size() then 'none' else 'part'#
Grid Position
grid_pos
grid_pos
Notebook
notebook
notebook
not $win_size or len($win_size) == 2
in
complex
Leave the window blank for the default size, otherwise enter a tuple of (width, height) pixels.
Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.