示例#1
0
 def open(self):
   ret = BaseHardware.open(self)
   if not self.hamlib_connected:	# rigctld is not started.  Try to start it.
     os.system("rigctld -m 229 -r /dev/ttyUSB0 -s 4800 & ")	# Check the baud rate menu setting
     # If this fails, start rigctld by hand.
   return ret
示例#2
0
 def __init__(self, app, conf):
   BaseHardware.__init__(self, app, conf)