Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias TryExcept body ImportFrom alias alias alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Lambda arguments args defaults ListLoad Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias alias Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpAdd ListLoad ListLoad Str Str ListComp ListLoad Call AttributeLoad NameLoad attr Num Num Call AttributeLoad NameLoad attr Num Num comprehension NameStore Call NameLoad AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If AttributeLoad NameLoad attr body If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore BinOpMult Num Num Assign NameStore BinOpMult Num Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults BinOpMult BinOpMult Num Num Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareGt BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad TryExcept body While UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Global identifier Assign NameStore NameLoad orelse If UnaryOpNot NameLoad body Raise NameLoad If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMult BinOpMult BinOpMult AttributeLoad NameLoad attr Num Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ division N/A os N/A sys N/A argparse N/A shutil N/A socket N/A time datetime datetime timedelta zope.interface implements twisted.protocols.basic LineReceiver twisted.internet.protocol Factory Protocol twisted.internet reactor interfaces twisted.internet.error ConnectionLost ConnectionDone N/A N/A __name__ __main__ N/A N/A N/A N/A N/A sys path append N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. daqpower log daqpower.config DeviceConfiguration daqpower.common DaqServerRequest DaqServerResponse Status N/A N/A daqpower.daq DaqRunner list_available_devices CAN_ENUMERATE_DEVICES N/A __import_error None N/A N/A N/A ImportError N/A e N/A N/A __import_error e N/A DaqRunner None N/A list_available_devices N/A N/A N/A N/A N/A Dev1 ProtocolError N/A Exception N/A N/A N/A DummyDaqRunner N/A object N/A N/A Dummy stub used when running in debug mode. N/A num_rows 200 number_of_ports N/A N/A self N/A N/A N/A N/A N/A self config number_of_ports N/A property __init__ N/A N/A self config output_directory N/A N/A N/A N/A N/A log info N/A N/A Creating runner with {} {} format config output_directory N/A N/A self config config N/A N/A self output_directory output_directory N/A N/A self is_running False N/A start N/A N/A self N/A N/A N/A csv random N/A N/A N/A log info runner started N/A i N/A xrange N/A N/A self config number_of_ports N/A N/A rows N/A N/A N/A power voltage N/A N/A N/A N/A random gauss 1.0 1.0 N/A N/A random gauss 1.0 0.1 N/A _ N/A xrange N/A self num_rows N/A N/A open N/A N/A self get_port_file_path N/A N/A N/A self config labels N/A i wb wfh N/A N/A writer N/A N/A csv writer wfh N/A N/A N/A writer writerows rows N/A N/A self is_running True N/A stop N/A N/A self N/A N/A N/A N/A self is_running False N/A N/A N/A log info runner stopped N/A get_port_file_path N/A N/A self port_id N/A N/A N/A N/A port_id N/A N/A self config labels N/A N/A N/A N/A N/A os path join N/A self output_directory N/A N/A {}.csv format port_id N/A N/A N/A Exception N/A N/A Invalid port id: {} format port_id N/A N/A DaqServer N/A object N/A __init__ N/A N/A self base_output_directory N/A N/A N/A N/A self base_output_directory N/A N/A N/A os path abspath base_output_directory N/A N/A N/A N/A os path isdir N/A self base_output_directory N/A N/A N/A N/A log info N/A N/A Using output directory: {} format N/A self base_output_directory N/A N/A N/A N/A log info N/A N/A Creating new output directory: {} format N/A self base_output_directory N/A N/A N/A os makedirs N/A self base_output_directory N/A N/A self runner None N/A N/A self output_directory None N/A N/A self labels None N/A configure N/A N/A self config_string N/A N/A N/A message None N/A N/A self runner N/A N/A message Configuring a new session before previous session has been terminated. N/A N/A N/A log warning message N/A N/A N/A self runner is_running N/A N/A N/A N/A N/A self runner stop N/A config N/A N/A DeviceConfiguration deserialize config_string N/A N/A N/A config validate N/A N/A self output_directory N/A N/A self _create_output_directory N/A N/A self labels N/A config labels N/A N/A N/A log info N/A N/A Writing port files to {} format N/A self output_directory N/A N/A self runner N/A DaqRunner config N/A self output_directory N/A message N/A start N/A N/A self N/A N/A N/A N/A self runner N/A N/A N/A N/A N/A self runner is_running N/A N/A N/A N/A N/A self runner start N/A N/A message Calling start() before stop() has been called. Data up to this point will be lost. N/A N/A N/A log warning message N/A N/A N/A N/A self runner stop N/A N/A N/A N/A self runner start N/A message N/A N/A N/A ProtocolError Start called before a session has been configured. N/A stop N/A N/A self N/A N/A N/A N/A self runner N/A N/A N/A N/A self runner is_running N/A N/A N/A N/A N/A self runner stop N/A N/A message Attempting to stop() before start() was invoked. N/A N/A N/A log warning message N/A N/A N/A N/A self runner stop N/A message N/A N/A N/A ProtocolError Stop called before a session has been configured. N/A list_devices N/A N/A self N/A N/A N/A N/A list_available_devices N/A list_ports N/A N/A self N/A N/A N/A N/A self labels N/A list_port_files N/A N/A self N/A N/A N/A N/A N/A self runner N/A N/A N/A ProtocolError Attempting to list port files before session has been configured. N/A ports_with_files N/A N/A port_id N/A self labels N/A N/A path N/A N/A self get_port_file_path port_id N/A N/A N/A N/A os path isfile path N/A N/A N/A N/A ports_with_files append port_id N/A ports_with_files N/A get_port_file_path N/A N/A self port_id N/A N/A N/A N/A N/A self runner N/A N/A N/A ProtocolError Attepting to get port file path before session has been configured. N/A N/A N/A N/A self runner get_port_file_path port_id N/A terminate N/A N/A self N/A N/A N/A message None N/A N/A self runner N/A N/A N/A N/A self runner is_running N/A N/A message Terminating session before runner has been stopped. N/A N/A N/A log warning message N/A N/A N/A N/A self runner stop N/A N/A self runner None N/A N/A N/A self output_directory N/A N/A N/A os path isdir N/A self output_directory N/A N/A N/A N/A shutil rmtree N/A self output_directory N/A N/A self output_directory None N/A N/A N/A log info Session terminated. N/A N/A message Attempting to close session before it has been configured. N/A N/A N/A log warning message N/A message N/A _create_output_directory N/A N/A self N/A N/A N/A basename N/A N/A N/A N/A datetime now strftime %Y-%m-%d_%H%M%S%f N/A dirname N/A N/A N/A os path join N/A self base_output_directory basename N/A N/A N/A os makedirs dirname N/A dirname N/A __del__ N/A N/A self N/A N/A N/A N/A self runner N/A N/A N/A N/A N/A self runner stop N/A __str__ N/A N/A self N/A N/A N/A N/A N/A ({}) format N/A self base_output_directory N/A N/A __repr__ __str__ N/A DaqControlProtocol N/A LineReceiver N/A __init__ N/A N/A self daq_server N/A N/A N/A N/A self daq_server daq_server N/A N/A self factory None N/A lineReceived N/A N/A self line N/A N/A N/A line N/A N/A line strip N/A N/A N/A log info N/A N/A Received: {} format line N/A N/A N/A request N/A N/A DaqServerRequest deserialize line N/A N/A N/A Exception N/A e N/A N/A message N/A getattr e mess N/A e message N/A N/A N/A self sendError N/A N/A Received bad request ({}: {}) format N/A N/A e __class__ __name__ message N/A N/A N/A N/A self processRequest request N/A processRequest N/A N/A self request N/A N/A N/A N/A N/A N/A N/A request command configure N/A N/A N/A N/A self configure request N/A N/A N/A N/A request command start N/A N/A N/A N/A self start request N/A N/A N/A N/A request command stop N/A N/A N/A N/A self stop request N/A N/A N/A N/A request command list_devices N/A N/A N/A N/A self list_devices request N/A N/A N/A N/A request command list_ports N/A N/A N/A N/A self list_ports request N/A N/A N/A N/A request command list_port_files N/A N/A N/A N/A self list_port_files request N/A N/A N/A N/A request command pull N/A N/A N/A N/A self pull_port_data request N/A N/A N/A N/A request command close N/A N/A N/A N/A self terminate request N/A N/A N/A N/A self sendError N/A N/A Received unknown command: {} format N/A request command N/A N/A N/A Exception N/A e N/A N/A message N/A getattr e mess N/A e message N/A N/A N/A self sendError N/A N/A {}: {} format N/A N/A e __class__ __name__ message N/A configure N/A N/A self request N/A N/A N/A N/A config N/A request params N/A N/A result N/A N/A N/A self daq_server configure N/A N/A request params N/A config N/A N/A result N/A N/A N/A N/A self sendResponse N/A Status OK N/A N/A N/A N/A self sendResponse N/A Status OKISH message result N/A N/A N/A N/A self sendError Invalid config; config string not provided. N/A start N/A N/A self request N/A N/A N/A result N/A N/A N/A self daq_server start N/A N/A result N/A N/A N/A N/A self sendResponse N/A Status OK N/A N/A N/A N/A self sendResponse N/A Status OKISH message result N/A stop N/A N/A self request N/A N/A N/A result N/A N/A N/A self daq_server stop N/A N/A result N/A N/A N/A N/A self sendResponse N/A Status OK N/A N/A N/A N/A self sendResponse N/A Status OKISH message result N/A pull_port_data N/A N/A self request N/A N/A N/A N/A port_id N/A request params N/A N/A port_id N/A N/A request params N/A port_id N/A port_file N/A N/A N/A self daq_server get_port_file_path port_id N/A N/A N/A N/A os path isfile port_file N/A N/A port N/A N/A self _initiate_file_transfer port_file N/A N/A N/A self sendResponse N/A Status OK data N/A port_number port N/A N/A N/A N/A self sendError N/A N/A File for port {} does not exist. format port_id N/A N/A N/A N/A self sendError Invalid pull request; port id not provided. N/A list_devices N/A N/A self request N/A N/A N/A CAN_ENUMERATE_DEVICES N/A N/A devices N/A N/A N/A self daq_server list_devices N/A N/A N/A self sendResponse N/A Status OK data N/A devices devices N/A N/A message Server does not support DAQ device enumration N/A N/A N/A self sendResponse N/A Status OKISH message message N/A list_ports N/A N/A self request N/A N/A N/A port_labels N/A N/A N/A self daq_server list_ports N/A N/A N/A self sendResponse N/A Status OK data N/A ports port_labels N/A list_port_files N/A N/A self request N/A N/A N/A port_labels N/A N/A N/A self daq_server list_port_files N/A N/A N/A self sendResponse N/A Status OK data N/A ports port_labels N/A terminate N/A N/A self request N/A N/A N/A status N/A Status OK N/A message N/A N/A N/A self factory transfer_sessions N/A N/A message Terminating with file tranfer sessions in progress.  N/A N/A N/A log warning message N/A session N/A N/A self factory transfer_sessions N/A N/A N/A N/A N/A self factory transferComplete session N/A message N/A N/A N/A N/A self daq_server terminate N/A message N/A N/A status N/A Status OKISH N/A N/A N/A self sendResponse status message N/A sendError N/A N/A self message N/A N/A N/A N/A N/A log error message N/A N/A N/A self sendResponse N/A Status ERROR message N/A sendResponse N/A N/A self status message data N/A None None N/A N/A response N/A DaqServerResponse status message message data data N/A N/A N/A self sendLine N/A N/A response serialize N/A sendLine N/A N/A self line N/A N/A N/A N/A N/A log info N/A N/A Responding: {} format line N/A N/A N/A LineReceiver sendLine self N/A N/A line replace N/A _initiate_file_transfer N/A N/A self filepath N/A N/A N/A sender_factory N/A FileSenderFactory filepath N/A self factory N/A connector N/A N/A reactor listenTCP 0 sender_factory N/A N/A N/A N/A self factory transferInitiated sender_factory connector N/A N/A N/A N/A connector getHost port N/A N/A DaqFactory N/A Factory N/A N/A protocol DaqControlProtocol N/A check_alive_period N/A 5 60 N/A max_transfer_lifetime N/A 30 60 __init__ N/A N/A self server cleanup_period cleanup_after_days N/A N/A N/A 24 60 60 5 N/A N/A N/A self server server N/A N/A self cleanup_period cleanup_period N/A N/A self cleanup_threshold N/A timedelta cleanup_after_days N/A N/A self transfer_sessions N/A N/A buildProtocol N/A N/A self addr N/A N/A N/A proto N/A DaqControlProtocol N/A self server N/A N/A proto factory self N/A N/A N/A reactor callLater N/A self check_alive_period N/A self pulse N/A N/A N/A reactor callLater N/A self cleanup_period N/A self perform_cleanup N/A proto N/A clientConnectionLost N/A N/A self connector reason N/A N/A N/A N/A N/A log msg N/A N/A client connection lost: {}. format reason N/A N/A N/A isinstance reason ConnectionLost N/A N/A N/A N/A log msg ERROR: Client terminated connection mid-transfer. N/A session N/A self transfer_sessions N/A N/A N/A N/A self transferComplete session N/A transferInitiated N/A N/A self session connector N/A N/A N/A N/A N/A self transfer_sessions N/A session N/A N/A N/A time time connector N/A transferComplete N/A N/A self session reason N/A OK N/A N/A N/A reason OK N/A N/A N/A N/A log error reason N/A N/A N/A N/A N/A N/A self transfer_sessions N/A session N/A 1 stopListening N/A N/A N/A self transfer_sessions N/A session N/A pulse N/A N/A self N/A N/A N/A Close down any file tranfer sessions that have been open for too long. N/A current_time N/A N/A time time N/A session N/A self transfer_sessions N/A N/A N/A start_time conn N/A N/A self transfer_sessions N/A session N/A N/A N/A current_time start_time N/A self max_transfer_lifetime N/A N/A message {} session on port {} timed out N/A N/A N/A self transferComplete session N/A N/A message format session N/A N/A N/A conn getHost port N/A N/A self transfer_sessions N/A N/A N/A N/A reactor callLater N/A self check_alive_period N/A self pulse N/A perform_cleanup N/A N/A self N/A N/A N/A 
        Cleanup and old uncollected data files to recover disk space.

         N/A N/A N/A log msg Performing cleanup of the output directory... N/A base_directory N/A N/A self server base_output_directory N/A current_time N/A N/A datetime now N/A entry N/A N/A os listdir base_directory N/A N/A entry_path N/A N/A N/A os path join base_directory entry N/A entry_ctime N/A N/A datetime fromtimestamp N/A N/A N/A os path getctime entry_path N/A existence_time N/A current_time entry_ctime N/A N/A existence_time N/A self cleanup_threshold N/A N/A N/A N/A log debug N/A N/A Removing {} (existed for {}) format entry existence_time N/A N/A N/A shutil rmtree entry_path N/A N/A N/A N/A log debug N/A N/A Keeping {} (existed for {}) format entry existence_time N/A N/A N/A log msg Cleanup complete. N/A __str__ N/A N/A self N/A N/A N/A N/A N/A <DAQ {}> format N/A self server N/A N/A __repr__ __str__ N/A FileReader N/A object N/A N/A N/A implements N/A interfaces IPushProducer __init__ N/A N/A self filepath N/A N/A N/A N/A self fh N/A open filepath N/A N/A self proto None N/A N/A self done False N/A N/A self _paused True N/A setProtocol N/A N/A self proto N/A N/A N/A N/A self proto proto N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A self proto N/A N/A N/A ProtocolError resumeProducing called with no protocol set. N/A N/A self _paused False N/A N/A N/A N/A N/A self _paused N/A N/A line N/A N/A N/A N/A N/A N/A self fh next rstrip N/A N/A N/A N/A N/A self proto transport write line N/A N/A N/A StopIteration N/A N/A N/A N/A log debug Sent everything. N/A N/A N/A self stopProducing N/A pauseProducing N/A N/A self N/A N/A N/A N/A self _paused True N/A stopProducing N/A N/A self N/A N/A N/A N/A self done True N/A N/A N/A N/A self fh close N/A N/A N/A N/A N/A self proto transport unregisterProducer N/A N/A N/A N/A N/A self proto transport loseConnection N/A N/A FileSenderProtocol N/A Protocol N/A __init__ N/A N/A self reader N/A N/A N/A N/A self reader reader N/A N/A self factory None N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self transport registerProducer N/A self reader True N/A N/A N/A N/A self reader resumeProducing N/A connectionLost N/A N/A self reason N/A ConnectionDone N/A N/A N/A N/A self reader done N/A N/A N/A N/A N/A self factory transferComplete N/A N/A N/A N/A N/A self reader pauseProducing N/A N/A N/A N/A self transport unregisterProducer N/A N/A FileSenderFactory N/A Factory N/A done N/A N/A self N/A N/A N/A N/A self reader N/A N/A N/A N/A self reader done N/A N/A None N/A property __init__ N/A N/A self path owner N/A N/A N/A N/A self path N/A N/A N/A os path abspath path N/A N/A self reader None N/A N/A self owner owner N/A buildProtocol N/A N/A self addr N/A N/A N/A N/A N/A self reader N/A N/A N/A self reader N/A FileReader N/A self path N/A proto N/A FileSenderProtocol N/A self reader N/A N/A proto factory self N/A N/A N/A N/A self reader setProtocol proto N/A proto N/A transferComplete N/A N/A self N/A N/A N/A N/A N/A N/A self owner transferComplete self N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A self path N/A __str__ N/A N/A self N/A N/A N/A N/A N/A <FileSender {}> format N/A self path N/A N/A __repr__ __str__ N/A run_server N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument -d --directory help Working directory metavar DIR default . N/A N/A N/A parser add_argument -p --port help port the server will listen on. metavar PORT default 45677 type int N/A N/A N/A parser add_argument -c --cleanup-after type int default 5 metavar DAYS help 
                        Sever will perodically clean up data files that are older than the number of
                        days specfied by this parameter.
                         N/A N/A N/A parser add_argument --cleanup-period type int default 1 metavar DAYS help Specifies how ofte the server will attempt to clean up old files. N/A N/A N/A parser add_argument --debug help Run in debug mode (no DAQ connected). action store_true default False N/A N/A N/A parser add_argument --verbose help Produce verobose output. action store_true default False N/A args N/A N/A parser parse_args N/A N/A args debug N/A N/A DaqRunner N/A DaqRunner DummyDaqRunner N/A N/A N/A DaqRunner N/A N/A __import_error N/A N/A N/A args verbose N/A args debug N/A N/A N/A N/A log start_logging DEBUG N/A N/A N/A N/A log start_logging INFO N/A cleanup_period N/A N/A N/A N/A args cleanup_period 24 60 60 N/A server N/A DaqServer N/A args directory N/A factory N/A DaqFactory server cleanup_period N/A args cleanup_after N/A N/A N/A N/A N/A reactor listenTCP N/A args port factory getHost N/A N/A N/A hostname N/A N/A socket gethostbyname N/A N/A socket gethostname N/A N/A N/A N/A socket gaierror N/A N/A hostname localhost N/A N/A N/A log info N/A N/A Listening on {}:{} format hostname N/A args port N/A N/A N/A reactor run N/A N/A N/A __name__ __main__ N/A N/A N/A run_server