mahos.inst.pd_interface.PDInterface#

class mahos.inst.pd_interface.PDInterface(client: InstrumentClient | MultiInstrumentClient, inst: str)#

Common interface for APDCounter and AnalogIn-based PD.

__init__(client: InstrumentClient | MultiInstrumentClient, inst: str)#

Methods

pop_all_block()

Get all data from buffer as list.

pop_all_opt()

Get all data from buffer as list.

pop_block()

Get data from buffer.

pop_opt()

Get data from buffer.