| Home | Trees | Index | Help |
|---|
|
|
mechanism.mechanism --+
|
filterwheel
|
|||
|
__init__(self,
names,
cortex,
icu_num,
axis_num,
base_speed,
max_speed,
acceleration,
deceleration,
position,
steps_per_rev,
direction,
name='filterwheel')
Initialiser for filterwheel class. |
|||
|
updateConfig(self,
config)
Should be called by the parent instrument object's destructor to enable status information to be saved to file on exit. |
|||
|
setupWheel(self)
Runs through an 'auto-fettling procedure'. |
|||
|
getStatus(self)
Returns 0, 1, 2 or 3 if the wheel in position, 0.5, 1.5, 2.5 or 3.5 if between positions. |
|||
|
goTo(self,
filter)
Moves the wheel to the correct position for the given filter number (0, 1, 2 or 3) or filter name (pass a string) . |
|||
|
moveBy(self,
steps,
blocking=True)
Moves the filter wheel position by a given number of motor steps. |
|||
| moveTo(self, position, blocking=True) | |||
|
setPosition(self,
new_position=0)
Defines the current mechanism position to be equal to the single integer argument. |
|||
|
Inherited from |
|||
|
|||
| statusDict | |||
|
|||
Initialiser for filterwheel class.
Arguments:
names: String containing a comma seperated list of
names for the filters.
cortex: String containing the name of the cortex based
ICU daisy chain instance that this mechanism is a
part of.
icuNum: Which ICU in the chain this mechanism is connected
to.
axisNum: Which axis of the ICU the mechansism is connected
to.
baseSpeed: Starting speed (steps/half steps per sec)
maxSpeed: Peak speed (steps/half steps per sec)
acceleration: Acceleration (steps/half steps per sec^2)
deceleration: Deceleration (steps/half steps per sec^2)
position: Initial position of the mechanism (steps)
steps_per_rev: Number of motor steps per revolution of the wheel
direction: +1 or -1, specifies the direction for rotation
name: Label used for logging purposes.
|
Should be called by the parent instrument object's destructor to enable status information to be saved to file on exit. Takes a ConfigParserRT.SafeConfigParser object as argument.
|
|
|
|
|
|
|
|
|||
statusDict
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Sun Jun 11 16:26:28 2006 | http://epydoc.sf.net |