daq package

DAQ Interface Minimum Functionality Spec

class daq.DAQ(device, config_path=None)[source]

Bases: object

Parent class for device interface layer * This only exists as documentation * All methods should be overwritten by inheritors.

assemble_command_table(command_table)[source]

Assemble a human-readable command block into device-friendly commands

Parameters:command_table (pandas.DataFrame) – Time-series table of commands
close()[source]
  1. End stream
  2. Return to default settings
  3. Close connection to device
command(assembled_commands)[source]

Send commands to device low-level interface. * As much processing as possible is done prior to this step. * Mapping from user input to device-level interface is done during initialization.

get_config()[source]

Return current config as json

process_stream_data(stream_data)[source]

Reformat stream output after run

read()[source]

Read values from device. * Channel list is defined during one-time configuration. * No inputs are given to this function.

stream()[source]

Open high-rate read stream