|
areaDetector
3-5-0
EPICS areaDetector framework
|
Namespaces | |
| makeAdl | |
Functions | |
| def | makeAdl.elements (node) |
| def | makeAdl.getText (node) |
| def | makeAdl.handle_node (node) |
| def | makeAdl.handle_category (category) |
| def | makeAdl.quoteString (string) |
| def | makeAdl.make_box () |
| def | makeAdl.make_description () |
| def | makeAdl.make_label () |
| def | makeAdl.make_ro () |
| def | makeAdl.make_demand () |
| def | makeAdl.make_rbv () |
| def | makeAdl.make_menu () |
| def | makeAdl.make_cmd () |
| def | makeAdl.write_adl_file (fileName) |
Variables | |
| makeAdl.parser = OptionParser() | |
| makeAdl.options | |
| makeAdl.args | |
| makeAdl.genicam_lines = open(args[0]).readlines() | |
| makeAdl.start_line = min(i for i in range(2) if genicam_lines[i].lstrip().startswith("<")) | |
| makeAdl.xml_root = parseString("".join(genicam_lines[start_line:]).lstrip()) | |
| makeAdl.camera_name = args[1] | |
| makeAdl.prefix = os.path.abspath(os.path.join(os.path.dirname(__file__),"..")) | |
| makeAdl.adl_more_filename = os.path.join(prefix, "op", "adl", camera_name + "-features") | |
| dictionary | makeAdl.lookup = {} |
| dictionary | makeAdl.records = {} |
| list | makeAdl.categories = [] |
| list | makeAdl.structure = [] |
| list | makeAdl.doneNodes = [] |
| makeAdl.stdout = sys.stdout | |
| int | makeAdl.maxScreenWidth = 1600 |
| int | makeAdl.maxScreenHeight = 850 |
| int | makeAdl.headingHeight = 20 |
| int | makeAdl.labelWidth = 220 |
| int | makeAdl.maxLabelHeight = 20 |
| int | makeAdl.readonlyWidth = 150 |
| int | makeAdl.readonlyHeight = 18 |
| int | makeAdl.readbackWidth = 90 |
| int | makeAdl.readbackHeight = 18 |
| int | makeAdl.textEntryWidth = 60 |
| int | makeAdl.textEntryHeight = 20 |
| int | makeAdl.menuWidth = 150 |
| int | makeAdl.menuHeight = 20 |
| int | makeAdl.messageButtonWidth = 150 |
| int | makeAdl.messageButtonHeight = 20 |
| int | makeAdl.boxWidth = 5 + labelWidth + 5 + readonlyWidth + 5 |
| int | makeAdl.w = boxWidth |
| int | makeAdl.h = 40 |
| int | makeAdl.x = 5 |
| int | makeAdl.y = 40 |
| string | makeAdl.text = "" |
| int | makeAdl.numColumns = 1 |
| int | makeAdl.fileNumber = 1 |
| int | makeAdl.boxHeight = len(nodes) * 25 + 10 + maxLabelHeight |
| int | makeAdl.headingY = y + 5 |
| int | makeAdl.headingX = x + 5 |
| int | makeAdl.headingWidth = boxWidth -10 |
| makeAdl.nodeName = str(node.getAttribute("Name")) | |
| dictionary | makeAdl.recordName = records[nodeName] |
| bool | makeAdl.ro = False |
| string | makeAdl.desc = "" |
| list | makeAdl.descs = ["%s: "% nodeName, "", "", "", "", ""] |
| int | makeAdl.i = 0 |
| int | makeAdl.nx = x + 5 |
| int | makeAdl.tlen = len(nodeName) * 10. / labelWidth |
| int | makeAdl.labelHeight = 20 |
1.8.15