Package tacval :: Package hardware :: Module base_gauge :: Class IonGauge
[hide private]
[frames] | no frames]

Class IonGauge

source code

enthought.traits.api.HasTraits --+    
                                 |    
                    object --+   |    
                             |   |    
              mks_coms.MKSComs --+    
                                 |    
                    object --+   |    
                             |   |    
        serial_coms.SerialComs --+    
                                 |    
                         BaseGauge --+
                                     |
                                    IonGauge

Instance Methods [hide private]
 
initialize(self) source code
 
get_transducer_filament_state(self) source code
 
set_filament_state(self, of) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from BaseGauge
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_data_buffer_default(self) source code
 
get_transducer_pressure(self)
gets the pressure from the transducer
source code
 
get_transducer_state(self)
get the state from the transducer and save a reference
source code
 
pressure_change(self, o, n, oo, nn)
this is validating the pressure and toggling flag
source code
 
set_transducer_identify(self, value)
sends command to transducer to toggle LED pulse
source code
 
set_transducer_power(self, value)
Turn on or off the gauge
source code
 
show_data_buffer(self)
Show the data buffer in a new window
source code
    Inherited from mks_coms.MKSComs
str
_build_command(self, addr, typetag, value, setpointindex=1)
build a command
source code
str
_build_query(self, addr, typetag, setpointindex=1)
build a query
source code
str or boolean
_parse_response(self, type, raw)
parse a serial response
source code
    Inherited from serial_coms.SerialComs
 
ask(self, s) source code
 
open_connection(self, serialaddr='/dev/tty.KeySerial1')
creates a new serial object
source code
 
read(self)
read from the serial buffer
source code
 
write(self, s)
write to the serial buffer
source code
Class Variables [hide private]
    Inherited from BaseGauge
  data_buffer = Instance(XYDataBuffer)
  description = Str
  flag = Bool
  identify = Bool(False)
  measure = Bool
  name = Str
  pressure = Float
  show_data = Bool
  state = Bool
  type = Str
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

initialize(self)

source code 
Overrides: BaseGauge.initialize