Changeset 4805

Show
Ignore:
Timestamp:
08/25/07 09:12:16 (6 years ago)
Author:
DrewCormier
Message:

removing WorkModule?.py since I don't plan on using buffers. most of my functionality will be wx and passing data. also cleaned up some improperly generated code

Location:
experimental/components/rc2007_gui
Files:
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/rc2007_gui/rc2007_gui.py

    r4804 r4805  
    3434import sys 
    3535 
    36 import WorkModule  # module found in the component directory. 
    37                    # this module is where the main processing 
    38                    # thread resides.   
    3936import threading 
    4037import time        # primarily availble for time.sleep() statements 
     
    9491 
    9592        print "rc2007_gui configure called" 
    96         buffer_size = 0 
    97          
    98         __READ_PROPS__ 
    99      
    100         # make sure that only one WorkModule thread is started,  
    101         # even if configure method is called more than once     
    102         if not self.WorkModule_created: 
    103             self.work_mod = WorkModule.WorkClass(self, buffer_size) 
    104             self.WorkModule_created = True     
     93         
    10594 
    10695    def query(self, props): 
     
    130119        self.name = name 
    131120 
    132     # WARNING:  I and Q may have to be changed depending on what data you are receiving (e.g., bytesIn for realChar) 
    133121    def pushPacket(self, I, Q): 
    134122        self.parent.work_mod.AddData(I, Q) 
     
    167155        self.data_event.set() 
    168156 
    169     # WARNING:  I and Q may have to be changed depending on what data you are receiving (e.g., bytesIn for realChar) 
    170157    def send_data(self, I, Q): 
    171158        self.data_buffer_lock.acquire()