Skip to content

Commit

Permalink
update director client conf
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconkist committed Mar 25, 2019
1 parent dc34174 commit c83b522
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion grc_blocks/app/ansible_hydra_gr_client_2tx_2rx.grc
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@
</param>
<param>
<key>value</key>
<value>0.01</value>
<value>0.02</value>
</param>
</block>
<block>
Expand Down
20 changes: 10 additions & 10 deletions grc_blocks/app/ansible_hydra_gr_client_2tx_2rx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
##################################################
# GNU Radio Python Flow Graph
# Title: Ansible Hydra Gr Client 2Tx 2Rx
# Generated: Wed Mar 13 02:36:08 2019
# Generated: Mon Mar 25 17:04:36 2019
##################################################


Expand All @@ -20,7 +20,7 @@

class ansible_hydra_gr_client_2tx_2rx(gr.top_block):

def __init__(self, ansibleIP='192.168.5.241', freqrx=1.42e9+3e6, freqtx=1.42e9, mul=0.01, samp_rate=200e3, vr1offset=-300e3, vr2offset=400e3, mul2=0.04):
def __init__(self, ansibleIP='192.168.5.241', freqrx=1.42e9+3e6, freqtx=1.42e9, mul=0.02, mul2=0.04, samp_rate=200e3, vr1offset=-300e3, vr2offset=400e3):
gr.top_block.__init__(self, "Ansible Hydra Gr Client 2Tx 2Rx")

##################################################
Expand All @@ -30,10 +30,10 @@ def __init__(self, ansibleIP='192.168.5.241', freqrx=1.42e9+3e6, freqtx=1.42e9,
self.freqrx = freqrx
self.freqtx = freqtx
self.mul = mul
self.mul2 = mul2
self.samp_rate = samp_rate
self.vr1offset = vr1offset
self.vr2offset = vr2offset
self.mul2 = mul2

##################################################
# Blocks
Expand Down Expand Up @@ -140,6 +140,13 @@ def set_mul(self, mul):
self.mul = mul
self.blocks_multiply_const_vxx_0.set_k((self.mul, ))

def get_mul2(self):
return self.mul2

def set_mul2(self, mul2):
self.mul2 = mul2
self.blocks_multiply_const_vxx_0_0.set_k((self.mul2, ))

def get_samp_rate(self):
return self.samp_rate

Expand All @@ -158,13 +165,6 @@ def get_vr2offset(self):
def set_vr2offset(self, vr2offset):
self.vr2offset = vr2offset

def get_mul2(self):
return self.mul2

def set_mul2(self, mul2):
self.mul2 = mul2
self.blocks_multiply_const_vxx_0_0.set_k((self.mul2, ))


def argument_parser():
parser = OptionParser(usage="%prog: [options]", option_class=eng_option)
Expand Down

0 comments on commit c83b522

Please sign in to comment.