|
ifw-fcf
3.0.0
|
Class managing the interface with a FCF DevMg. More...
Public Member Functions | |
| def | __init__ (self, uri, timeout=60000, check=False, setup_obj=None) |
| def | setup_json_string (self, arg, keep=False) |
| Execute Setup Command. More... | |
| def | setup_json_file (self, arg, keep=False) |
| Execute Setup Command. More... | |
| def | setup_spf (self, arg, keep=False) |
| Execute Setup Command. More... | |
| def | setup (self, setup_buffer, keep=False) |
| Execute Setup Command. More... | |
| def | devstatus (self, *argv) |
| Execute Status Command. More... | |
| def | devconfig (self, device) |
| Execute Status Command. More... | |
| def | ignore (self, *argv) |
| Execute Ignore Command. More... | |
| def | simulate (self, *argv) |
| Execute Simulate Command. More... | |
| def | stop_ignore (self, *argv) |
| Execute StopIgn Command. More... | |
| def | stop_simulate (self, *argv) |
| Execute StopSim Command. More... | |
| def | hw_init (self, *argv) |
| Execute HwInit Command. More... | |
| def | hw_enable (self, *argv) |
| Execute HwEnable Command. More... | |
| def | hw_disable (self, *argv) |
| Execute HwDisable Command. More... | |
| def | hw_reset (self, *argv) |
| Execute HwReset Command. More... | |
| def | devnames (self) |
| Execute DevNames Command. More... | |
| def | devinfo (self) |
| Execute DevInfo Command. More... | |
| def | state (self) |
| Execute GetState Command. More... | |
| def | status (self) |
| Execute GetStatus Command. More... | |
| def | get_config (self) |
| Execute GetConfig Command synchronously. More... | |
| def | init (self) |
| Execute Init Command. More... | |
| def | enable (self) |
| Execute Enable Command. More... | |
| def | disable (self) |
| Execute Disable Command. More... | |
| def | reset (self) |
| Execute Reset Command. More... | |
| def | stop (self) |
| Execute Stop Command. More... | |
| def | startdaq (self, id) |
| Execute StopDaq Command. More... | |
| def | stopdaq (self, id) |
| Execute StopDaq Command. More... | |
| def | abortdaq (self, id) |
| Execute AbortDaq Command. More... | |
| def | daqstatus (self, id) |
| Execute GetDaqStatus Command. More... | |
| def | open (self, devname) |
| Open a shutter device. More... | |
| def | close (self, devname) |
| Close a shutter device. More... | |
| def | switch_on (self, name, intensity=100.0, timer=0) |
| Switch on a lamp or actuator device. More... | |
| def | switch_off (self, name) |
| Switch off a lamp or actuator device. More... | |
| def | move_by_name (self, name, namedpos) |
| Move a motor by named position. More... | |
| def | move_by_speed (self, name, speed) |
| Move a motor by speed. More... | |
| def | move (self, name, pos, type="abs", unit="uu") |
| Move a motor to a target position. More... | |
| def | start_track (self, name, mode="undef") |
| Start tracking. More... | |
| def | stop_track (self, name) |
| Stop tracking. More... | |
| def | get_cii (self) |
| Return the CII interface. More... | |
Class managing the interface with a FCF DevMg.
| def fcfclib.devmgr_commands.DevMgrCommands.__init__ | ( | self, | |
| uri, | |||
timeout = 60000, |
|||
check = False, |
|||
setup_obj = None |
|||
| ) |
| def fcfclib.devmgr_commands.DevMgrCommands.abortdaq | ( | self, | |
| id | |||
| ) |
Execute AbortDaq Command.
| def fcfclib.devmgr_commands.DevMgrCommands.close | ( | self, | |
| devname | |||
| ) |
Close a shutter device.
| def fcfclib.devmgr_commands.DevMgrCommands.daqstatus | ( | self, | |
| id | |||
| ) |
Execute GetDaqStatus Command.
This method returns a DaqStatus structure @see metadaqif
| def fcfclib.devmgr_commands.DevMgrCommands.devconfig | ( | self, | |
| device | |||
| ) |
Execute Status Command.
| def fcfclib.devmgr_commands.DevMgrCommands.devinfo | ( | self | ) |
Execute DevInfo Command.
| def fcfclib.devmgr_commands.DevMgrCommands.devnames | ( | self | ) |
Execute DevNames Command.
| def fcfclib.devmgr_commands.DevMgrCommands.devstatus | ( | self, | |
| * | argv | ||
| ) |
Execute Status Command.
| def fcfclib.devmgr_commands.DevMgrCommands.disable | ( | self | ) |
Execute Disable Command.
| def fcfclib.devmgr_commands.DevMgrCommands.enable | ( | self | ) |
Execute Enable Command.
| def fcfclib.devmgr_commands.DevMgrCommands.get_cii | ( | self | ) |
Return the CII interface.
| def fcfclib.devmgr_commands.DevMgrCommands.get_config | ( | self | ) |
Execute GetConfig Command synchronously.
| def fcfclib.devmgr_commands.DevMgrCommands.hw_disable | ( | self, | |
| * | argv | ||
| ) |
Execute HwDisable Command.
| def fcfclib.devmgr_commands.DevMgrCommands.hw_enable | ( | self, | |
| * | argv | ||
| ) |
Execute HwEnable Command.
| def fcfclib.devmgr_commands.DevMgrCommands.hw_init | ( | self, | |
| * | argv | ||
| ) |
Execute HwInit Command.
| def fcfclib.devmgr_commands.DevMgrCommands.hw_reset | ( | self, | |
| * | argv | ||
| ) |
Execute HwReset Command.
| def fcfclib.devmgr_commands.DevMgrCommands.ignore | ( | self, | |
| * | argv | ||
| ) |
Execute Ignore Command.
| def fcfclib.devmgr_commands.DevMgrCommands.init | ( | self | ) |
Execute Init Command.
| def fcfclib.devmgr_commands.DevMgrCommands.move | ( | self, | |
| name, | |||
| pos, | |||
type = "abs", |
|||
unit = "uu" |
|||
| ) |
Move a motor to a target position.
| def fcfclib.devmgr_commands.DevMgrCommands.move_by_name | ( | self, | |
| name, | |||
| namedpos | |||
| ) |
Move a motor by named position.
| def fcfclib.devmgr_commands.DevMgrCommands.move_by_speed | ( | self, | |
| name, | |||
| speed | |||
| ) |
Move a motor by speed.
| def fcfclib.devmgr_commands.DevMgrCommands.open | ( | self, | |
| devname | |||
| ) |
Open a shutter device.
| def fcfclib.devmgr_commands.DevMgrCommands.reset | ( | self | ) |
Execute Reset Command.
| def fcfclib.devmgr_commands.DevMgrCommands.setup | ( | self, | |
| setup_buffer, | |||
keep = False |
|||
| ) |
Execute Setup Command.
| def fcfclib.devmgr_commands.DevMgrCommands.setup_json_file | ( | self, | |
| arg, | |||
keep = False |
|||
| ) |
Execute Setup Command.
| def fcfclib.devmgr_commands.DevMgrCommands.setup_json_string | ( | self, | |
| arg, | |||
keep = False |
|||
| ) |
Execute Setup Command.
| def fcfclib.devmgr_commands.DevMgrCommands.setup_spf | ( | self, | |
| arg, | |||
keep = False |
|||
| ) |
Execute Setup Command.
| def fcfclib.devmgr_commands.DevMgrCommands.simulate | ( | self, | |
| * | argv | ||
| ) |
Execute Simulate Command.
| def fcfclib.devmgr_commands.DevMgrCommands.start_track | ( | self, | |
| name, | |||
mode = "undef" |
|||
| ) |
Start tracking.
Valid for Drot, Adc and Piezo
| def fcfclib.devmgr_commands.DevMgrCommands.startdaq | ( | self, | |
| id | |||
| ) |
Execute StopDaq Command.
| def fcfclib.devmgr_commands.DevMgrCommands.state | ( | self | ) |
Execute GetState Command.
| def fcfclib.devmgr_commands.DevMgrCommands.status | ( | self | ) |
Execute GetStatus Command.
| def fcfclib.devmgr_commands.DevMgrCommands.stop | ( | self | ) |
Execute Stop Command.
| def fcfclib.devmgr_commands.DevMgrCommands.stop_ignore | ( | self, | |
| * | argv | ||
| ) |
Execute StopIgn Command.
| def fcfclib.devmgr_commands.DevMgrCommands.stop_simulate | ( | self, | |
| * | argv | ||
| ) |
Execute StopSim Command.
| def fcfclib.devmgr_commands.DevMgrCommands.stop_track | ( | self, | |
| name | |||
| ) |
Stop tracking.
Valid for Drot, Adc and Piezo
| def fcfclib.devmgr_commands.DevMgrCommands.stopdaq | ( | self, | |
| id | |||
| ) |
Execute StopDaq Command.
This method returns a DaqStop structure @see metadaqif
| def fcfclib.devmgr_commands.DevMgrCommands.switch_off | ( | self, | |
| name | |||
| ) |
Switch off a lamp or actuator device.
| def fcfclib.devmgr_commands.DevMgrCommands.switch_on | ( | self, | |
| name, | |||
intensity = 100.0, |
|||
timer = 0 |
|||
| ) |
Switch on a lamp or actuator device.