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