For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
OverviewCodaControlAPI ReferenceChangelog
OverviewCodaControlAPI ReferenceChangelog
  • Coda API
  • Control API
  • Stanza API
    • stanza
    • cli
    • context
    • device
      • drivers
      • opx
      • qdac2
      • qswitch
      • utils
    • exceptions
    • models
    • pyvisa
    • registry
    • timing
    • utils
LogoLogo
On this page
  • Module Contents
  • Classes
  • Data
  • API
Stanza APIdrivers

stanza.drivers.opx

Was this page helpful?
Built with

Module Contents

Classes

NameDescription
OPXMeasurementChannelOPX-specific measurement channel with hardware integration.
OPXInstrumentOPX-specific instrument with hardware integration.

Data

logger

API

1stanza.drivers.opx.logger

Value: getLogger(...)

1class stanza.drivers.opx.OPXMeasurementChannel(name: str, channel_id: int, config: stanza.base.channels.ChannelConfig)

Bases: stanza.base.channels.MeasurementChannel

OPX-specific measurement channel with hardware integration.

1set_driver(driver: typing.Any) -> None
1set_job_id(job_id: int) -> None
1set_read_len(read_len: int) -> None
1get_current() -> float
1class stanza.drivers.opx.OPXInstrument(instrument_config: stanza.models.MeasurementInstrumentConfig, channel_configs: dict[str, stanza.base.channels.ChannelConfig])

Bases: stanza.base.instruments.BaseMeasurementInstrument

OPX-specific instrument with hardware integration.

1_initialize_channels(channel_configs: dict[str, stanza.base.channels.ChannelConfig]) -> None
1qua_config() -> qm.FullQuaConfig
1qua_program: qm.Program
1prepare_measurement() -> None

Prepare the measurement.

1teardown_measurement() -> None
1measure(channel_name: str) -> float