6
6
#
7
7
# GNU Radio Python Flow Graph
8
8
# Title: Secplus Tx
9
- # GNU Radio version: 3.9.3 .0
9
+ # GNU Radio version: 3.10.5 .0
10
10
11
11
from gnuradio import analog
12
12
from gnuradio import blocks
@@ -53,7 +53,7 @@ def __init__(self, fixed=1234567890, freq=315150000, rolling=1234567890):
53
53
)
54
54
self .osmosdr_sink_0 .set_time_unknown_pps (osmosdr .time_spec_t ())
55
55
self .osmosdr_sink_0 .set_sample_rate (samp_rate )
56
- self .osmosdr_sink_0 .set_center_freq (freq - 300e3 , 0 )
56
+ self .osmosdr_sink_0 .set_center_freq (( freq - 300e3 ) , 0 )
57
57
self .osmosdr_sink_0 .set_freq_corr (0 , 0 )
58
58
self .osmosdr_sink_0 .set_gain (0 , 0 )
59
59
self .osmosdr_sink_0 .set_if_gain (47 , 0 )
@@ -66,7 +66,6 @@ def __init__(self, fixed=1234567890, freq=315150000, rolling=1234567890):
66
66
self .analog_sig_source_x_0 = analog .sig_source_c (samp_rate , analog .GR_COS_WAVE , 300e3 , 0.9 , 0 , 0 )
67
67
68
68
69
-
70
69
##################################################
71
70
# Connections
72
71
##################################################
@@ -89,7 +88,7 @@ def get_freq(self):
89
88
90
89
def set_freq (self , freq ):
91
90
self .freq = freq
92
- self .osmosdr_sink_0 .set_center_freq (self .freq - 300e3 , 0 )
91
+ self .osmosdr_sink_0 .set_center_freq (( self .freq - 300e3 ) , 0 )
93
92
94
93
def get_rolling (self ):
95
94
return self .rolling
0 commit comments