Package tacval :: Package hardware :: Module actuator :: Class Actuator
[hide private]
[frames] | no frames]

Class Actuator

source code

            object --+    
                     |    
serial_coms.SerialComs --+
                         |
                        Actuator

Abstract module for the Agilent 34903A GP Actuator

Class Hierarchy for Actuator
Class Hierarchy for Actuator

Instance Methods [hide private]
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
setup(self, setup_file=None)
load a setup file and open a serial connection
source code
 
get_channel_state(self, addr)
Query the hardware for the channel state
source code
 
close(self, addr, excl=False)
Close the channel
source code
 
open(self, addr)
Close the channel
source code

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

    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
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

setup(self, setup_file=None)

source code 

load a setup file and open a serial connection

Parameters:
  • setup_file (str) - absolute path for the setup file

get_channel_state(self, addr)

source code 

Query the hardware for the channel state

Parameters:
  • addr (str) - Agilent type address

close(self, addr, excl=False)

source code 

Close the channel

Parameters:
  • addr (str) - Agilent type address

open(self, addr)

source code 

Close the channel

Parameters:
  • addr (str) - Agilent type address