Public Member Functions | |
def | get_filter (self) |
def | set_filter (self, filt) |
def | home (self) |
def | wait_move (self) |
def | wait_home (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) |
Additional Inherited Members | |
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 a filter wheel. You should use the FilterWheel2 or FilterWheel3 for a specific device.
Definition at line 343 of file visaodevices.py.
def visaodevices.FilterWheel.get_filter | ( | self | ) |
Get the current filter.
Definition at line 347 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaofifos.VisAOFifoDev.connected, visaodevices.CCD47Ctrl.connected, visaodevices.FilterWheel2.connected, visaodevices.FilterWheel3.connected, visaodevices.Shutter.connected, visaodevices.Gimbal.connected, visaodevices.framegrabber39.connected, visaodevices.framewriter39.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FilterWheel.set_filter | ( | self, | |
filt | |||
) |
Set filter to filt, moves the wheel. filt should exactly match the names of filter used in its conf file (e.g. "SDSS z'")
Definition at line 357 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FilterWheel2.base_name, visaodevices.FilterWheel3.base_name, visaodevices.Shutter.base_name, visaodevices.Gimbal.base_name, visaodevices.framegrabber39.base_name, visaodevices.framewriter39.base_name, visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaofifos.VisAOFifoDev.connected, visaodevices.CCD47Ctrl.connected, visaodevices.FilterWheel2.connected, visaodevices.FilterWheel3.connected, visaodevices.Shutter.connected, visaodevices.Gimbal.connected, visaodevices.framegrabber39.connected, visaodevices.framewriter39.connected, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, visaofifos.VisAOFifoDev.control, visaodevices.FilterWheel2.control, visaodevices.FilterWheel3.control, visaodevices.Shutter.control, visaodevices.Gimbal.control, visaodevices.framegrabber39.control, visaodevices.framewriter39.control, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FilterWheel.home | ( | self | ) |
Home the wheel.
Definition at line 374 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FilterWheel2.base_name, visaodevices.FilterWheel3.base_name, visaodevices.Shutter.base_name, visaodevices.Gimbal.base_name, visaodevices.framegrabber39.base_name, visaodevices.framewriter39.base_name, visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaofifos.VisAOFifoDev.connected, visaodevices.CCD47Ctrl.connected, visaodevices.FilterWheel2.connected, visaodevices.FilterWheel3.connected, visaodevices.Shutter.connected, visaodevices.Gimbal.connected, visaodevices.framegrabber39.connected, visaodevices.framewriter39.connected, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, visaofifos.VisAOFifoDev.control, visaodevices.FilterWheel2.control, visaodevices.FilterWheel3.control, visaodevices.Shutter.control, visaodevices.Gimbal.control, visaodevices.framegrabber39.control, visaodevices.framewriter39.control, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FilterWheel.wait_move | ( | self | ) |
Wait for a filter wheel move to complete.
Definition at line 389 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaofifos.VisAOFifoDev.connected, visaodevices.CCD47Ctrl.connected, visaodevices.FilterWheel2.connected, visaodevices.FilterWheel3.connected, visaodevices.Shutter.connected, visaodevices.Gimbal.connected, visaodevices.framegrabber39.connected, visaodevices.framewriter39.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.FilterWheel.wait_home | ( | self | ) |
Wait for a filter wheel home to complete.
Definition at line 406 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaofifos.VisAOFifoDev.connected, visaodevices.CCD47Ctrl.connected, visaodevices.FilterWheel2.connected, visaodevices.FilterWheel3.connected, visaodevices.Shutter.connected, visaodevices.Gimbal.connected, visaodevices.framegrabber39.connected, visaodevices.framewriter39.connected, and visaofifos.VisAOFifoDev.write_fifoch().