mahos.inst.pg_interface.PGInterface#
- class mahos.inst.pg_interface.PGInterface(client: InstrumentClient | MultiInstrumentClient, inst: str)#
Interface for Pulse Genetator.
- __init__(client: InstrumentClient | MultiInstrumentClient, inst: str)#
Methods
clear
()Clear status.
configure_blocks
(blocks, freq[, ...])Configure the PG using blocks (Blocks[Block]) representation.
configure_blockseq
(blockseq, freq[, ...])Configure the PG using BlockSeq representation.
get_length
()Get total block length of last configure() call.
get_offsets
()Get additional offsets of last configure() call.
get_opc
([delay])Get OPC (operation complete) status.
trigger
()Issue software trigger.
validate_blocks
(blocks, freq)Validate the blocks with freq.
validate_blockseq
(blockseq, freq)Validate the blocks with freq.