daq.operator module

Automation and data acquisition

class daq.operator.Allocator[source]

Bases: object

Asynchronous memory manager

close()[source]

Tell the listener to shut down and return data

listen()[source]

Data listener and memory allocator loop

open(n_channels)[source]

Start asynchronous process watching for incoming data and allocation requests

class daq.operator.Block(name, times, commands)[source]

Bases: object

A block of commands

reset()[source]

Rebuild iterator

class daq.operator.Operator(interface, config_dir, sleep_dt=None)[source]

Bases: object

Controls DAQ hardware

plot_block_graph(**kwargs)[source]

Display a chart of the block graph

run(memory_margin=1.2)[source]

Run automated process

save_block_graph_plot(dst='./')[source]

Save a static image of the block graph

daq.operator.wait(target, sleep_dt)[source]

Sleep until time within (dt) of (target)