Public Member Functions | |
def | __init__ (self) |
def | get_pos (self) |
def | abort (self) |
def | pos (self, newpos) |
def | preset (self) |
def | wait_move (self) |
Public Member Functions inherited from visaofifos.VisAOFifoDev | |
def | setup_fifo_names (self) |
def | open_fifoch (self) |
def | write_fifoch (self, com) |
def | close_fifoch (self) |
def | connect (self) |
def | take_control |
def | giveup_control (self) |
Public Attributes | |
base_name | |
connected | |
control | |
Public Attributes inherited from visaofifos.VisAOFifoDev | |
base_path | |
fifo_out_name | |
fifo_in_name | |
pollobj | |
fifo_out | |
fifo_in | |
connected | |
control | |
Class to control the Focus stage.
Definition at line 20 of file visaodevices.py.
def visaodevices.FocusCtrl.get_pos | ( | self | ) |
Get the current position of the stage.
Definition at line 30 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FocusCtrl.abort | ( | self | ) |
Abort a move in progress.
Definition at line 39 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FocusCtrl.pos | ( | self, | |
newpos | |||
) |
Move to a new position, specified in microns.
Definition at line 48 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.FocusCtrl.control, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FocusCtrl.preset | ( | self | ) |
Move to a preset focus position based on the filter selection.
Definition at line 64 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.FocusCtrl.control, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FocusCtrl.wait_move | ( | self | ) |
Wait for a move to complete.
Definition at line 80 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().