Changeset 361

Show
Ignore:
Timestamp:
07/22/09 10:27:26 (15 years ago)
Author:
sriram
Message:

Correcting errors

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/branches/sriram/benchmark_txrxnode2.py

    r359 r361  
    129129        parser_tx.print_help() 
    130130        sys.exit(1) 
    131  
     131    ############# Setting some default values for tx side of the block 
     132    options_tx.tx_freq = 462.5625e6  
     133    options_tx.samples_per_symbol =  2 
     134    options_tx.modulation = 'dbpsk' 
     135    options_tx.fusb_block_size = 4096 
     136    options_tx.fusb_nblocks = 16 
     137    options_tx.bitrate = 0.0125e6 
     138    ############# 
    132139    if options_tx.tx_freq is None: 
    133140        sys.stderr.write("You must specify -f FREQ or --freq FREQ\n") 
     
    169176        parser_rx.print_help(sys.stderr) 
    170177        sys.exit(1) 
    171  
     178    ############# Setting some default values for rx side of the block 
     179    options_rx.rx_freq = 462.5625e6 #setting default rx_freq value 
     180    options_rx.samples_per_symbol =  2 
     181    options_rx.modulation = 'dbpsk' 
     182    options_rx.fusb_block_size = 4096 
     183    options_rx.fusb_nblocks = 16 
     184    options_rx.bitrate = 0.0125e6 
     185    ############# 
    172186    if options_rx.rx_freq is None: 
    173187        sys.stderr.write("You must specify -f FREQ or --freq FREQ\n") 
     
    227241        if mode == "traffic": 
    228242                print "Inside traffic mode" 
    229                 if check_sync == 0 
     243                if check_sync == 0: 
    230244                        time.sleep(0.4) 
    231245                        if traffic_flag != True: