ifw-fcf
2.0.0
|
Class managing the interface with a FCF DevMg. More...
Public Member Functions | |
def | __init__ |
def | close_shutter |
Close a shutte. More... | |
def | open_shutter |
Open a shutte. More... | |
def | switch_lamp_on |
Switch a lamp ON. More... | |
def | switch_lamp_on_with_intensity |
Switch a lamp ON with intensity. More... | |
def | switch_lamp_on_with_timer |
Switch a lamp ON for a period of time. More... | |
def | switch_lamp_off |
Switch a lamp OFF. More... | |
def | move_motor_abs_enc |
Move a motor in absolute encoders. More... | |
def | move_motor_abs_pos |
Move a motor in absolute user units. More... | |
def | move_motor_rel_enc |
Move a motor in relative encoders. More... | |
def | move_motor_rel_pos |
Move a motor in relative user units. More... | |
def | move_motor_name_pos |
Move a motor to a named position. More... | |
def | move_drot_abs_pos |
Move DROT to absolute position in user units. More... | |
def | move_drot_posangle |
Move DROT to position angle. More... | |
def | start_drot_sky_tracking |
Start DROT tracking in Sky mode. More... | |
def | start_drot_elev_tracking |
Start DROT tracking in Elev mode. More... | |
def | start_drot_user_tracking |
Start DROT tracking in User mode. More... | |
def | stop_drot_tracking |
Stop DROT tracking. More... | |
def | move_adc_motor1_abs_pos |
Move ADC motor1 to an absolute position in user units. More... | |
def | move_adc_posangle |
Move DROT to a specific position angle. More... | |
def | start_adc_tracking |
Start ADC tracking in Auto mode. More... | |
def | stop_adc_tracking |
Stop ADC tracking. More... | |
def | set_piezo_auto |
Set PIEZO to AUTO mode. More... | |
def | set_piezo_pos |
Set PIEZO to POS mode. More... | |
def | set_piezo_home |
Set PIEZO to HOME position. More... | |
def | move_piezo_in_user_units |
Move PIEZO in user positions. More... | |
def | move_piezo_in_bits_units |
Move PIEZO in bits. More... | |
def | switch_actuator_on |
Switch actuator ON. More... | |
def | switch_actuator_off |
Switch actuator OFF. More... | |
def | reset_buffer |
Clean Setup buffer (message) More... | |
def | size |
Get size of buffer (message) More... | |
def | get |
Get size of buffer (message) More... | |
def | setup |
Execute Setup Command. More... | |
def | status |
def | ignore |
def | simulate |
def | stop_ignore |
def | stop_simulate |
def | hw_init |
def | hw_enable |
def | hw_disable |
def | hw_reset |
def | devnames |
def | state |
def | init |
def | enable |
def | disable |
def | reset |
def | stop |
Class managing the interface with a FCF DevMg.
def fcfclib.devmgrCommands.DevMgrCommands.__init__ | ( | self, | |
uri, | |||
timeout = 60000 |
|||
) |
def fcfclib.devmgrCommands.DevMgrCommands.close_shutter | ( | self, | |
device | |||
) |
Close a shutte.
def fcfclib.devmgrCommands.DevMgrCommands.devnames | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.disable | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.enable | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.get | ( | self, | |
index | |||
) |
Get size of buffer (message)
def fcfclib.devmgrCommands.DevMgrCommands.hw_disable | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.hw_enable | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.hw_init | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.hw_reset | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.ignore | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.init | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.move_adc_motor1_abs_pos | ( | self, | |
device, | |||
position | |||
) |
Move ADC motor1 to an absolute position in user units.
def fcfclib.devmgrCommands.DevMgrCommands.move_adc_posangle | ( | self, | |
device, | |||
position | |||
) |
Move DROT to a specific position angle.
def fcfclib.devmgrCommands.DevMgrCommands.move_drot_abs_pos | ( | self, | |
device, | |||
position | |||
) |
Move DROT to absolute position in user units.
def fcfclib.devmgrCommands.DevMgrCommands.move_drot_posangle | ( | self, | |
device, | |||
position | |||
) |
Move DROT to position angle.
def fcfclib.devmgrCommands.DevMgrCommands.move_motor_abs_enc | ( | self, | |
device, | |||
position | |||
) |
Move a motor in absolute encoders.
def fcfclib.devmgrCommands.DevMgrCommands.move_motor_abs_pos | ( | self, | |
device, | |||
position | |||
) |
Move a motor in absolute user units.
def fcfclib.devmgrCommands.DevMgrCommands.move_motor_name_pos | ( | self, | |
device, | |||
name | |||
) |
Move a motor to a named position.
def fcfclib.devmgrCommands.DevMgrCommands.move_motor_rel_enc | ( | self, | |
device, | |||
position | |||
) |
Move a motor in relative encoders.
def fcfclib.devmgrCommands.DevMgrCommands.move_motor_rel_pos | ( | self, | |
device, | |||
position | |||
) |
Move a motor in relative user units.
def fcfclib.devmgrCommands.DevMgrCommands.move_piezo_in_bits_units | ( | self, | |
device, | |||
bit1, | |||
bit2, | |||
bit3 | |||
) |
Move PIEZO in bits.
def fcfclib.devmgrCommands.DevMgrCommands.move_piezo_in_user_units | ( | self, | |
device, | |||
pos1, | |||
pos2, | |||
pos3 | |||
) |
Move PIEZO in user positions.
def fcfclib.devmgrCommands.DevMgrCommands.open_shutter | ( | self, | |
device | |||
) |
Open a shutte.
def fcfclib.devmgrCommands.DevMgrCommands.reset | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.reset_buffer | ( | self | ) |
Clean Setup buffer (message)
def fcfclib.devmgrCommands.DevMgrCommands.set_piezo_auto | ( | self, | |
device | |||
) |
Set PIEZO to AUTO mode.
def fcfclib.devmgrCommands.DevMgrCommands.set_piezo_home | ( | self, | |
device | |||
) |
Set PIEZO to HOME position.
def fcfclib.devmgrCommands.DevMgrCommands.set_piezo_pos | ( | self, | |
device | |||
) |
Set PIEZO to POS mode.
def fcfclib.devmgrCommands.DevMgrCommands.setup | ( | self | ) |
Execute Setup Command.
def fcfclib.devmgrCommands.DevMgrCommands.simulate | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.size | ( | self | ) |
Get size of buffer (message)
def fcfclib.devmgrCommands.DevMgrCommands.start_adc_tracking | ( | self, | |
device | |||
) |
Start ADC tracking in Auto mode.
def fcfclib.devmgrCommands.DevMgrCommands.start_drot_elev_tracking | ( | self, | |
device | |||
) |
Start DROT tracking in Elev mode.
def fcfclib.devmgrCommands.DevMgrCommands.start_drot_sky_tracking | ( | self, | |
device | |||
) |
Start DROT tracking in Sky mode.
def fcfclib.devmgrCommands.DevMgrCommands.start_drot_user_tracking | ( | self, | |
device | |||
) |
Start DROT tracking in User mode.
def fcfclib.devmgrCommands.DevMgrCommands.state | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.status | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.stop | ( | self | ) |
def fcfclib.devmgrCommands.DevMgrCommands.stop_adc_tracking | ( | self, | |
device | |||
) |
Stop ADC tracking.
def fcfclib.devmgrCommands.DevMgrCommands.stop_drot_tracking | ( | self, | |
device | |||
) |
Stop DROT tracking.
def fcfclib.devmgrCommands.DevMgrCommands.stop_ignore | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.stop_simulate | ( | self, | |
argv | |||
) |
def fcfclib.devmgrCommands.DevMgrCommands.switch_actuator_off | ( | self, | |
device | |||
) |
Switch actuator OFF.
def fcfclib.devmgrCommands.DevMgrCommands.switch_actuator_on | ( | self, | |
device | |||
) |
Switch actuator ON.
def fcfclib.devmgrCommands.DevMgrCommands.switch_lamp_off | ( | self, | |
device | |||
) |
Switch a lamp OFF.
def fcfclib.devmgrCommands.DevMgrCommands.switch_lamp_on | ( | self, | |
device | |||
) |
Switch a lamp ON.
def fcfclib.devmgrCommands.DevMgrCommands.switch_lamp_on_with_intensity | ( | self, | |
device, | |||
intensity | |||
) |
Switch a lamp ON with intensity.
def fcfclib.devmgrCommands.DevMgrCommands.switch_lamp_on_with_timer | ( | self, | |
device, | |||
timer | |||
) |
Switch a lamp ON for a period of time.