qcodes_drivers

Getting started

  • Make sure that your Keysight PXIe AWGs and Digitizers have SD1 2.x firmwares.

  • Install QCoDeS.

  • Install plottr:

    pip install "plottr[PyQt5] @ git+https://github.com/toolsforexperiments/plottr.git"
    

    To use search_datadict, install our fork:

    pip install "plottr[PyQt5] @ git+https://github.com/qipe-nlab/plottr.git@search-datadict"
    

    until the pull request is merged.

  • Try this to test your installation:

    import qcodes as qc
    from plottr.data.datadict_storage import DataDict, DDH5Writer, search_datadict
    from qcodes.tests.instrument_mocks import DummyInstrument
    
    basedir = "D:\\data-folder"
    station = qc.Station()
    station.add_component(DummyInstrument())
    data = DataDict(x=dict(), y=dict(axes=["x"]))
    
    with DDH5Writer(data, basedir, name="test") as writer:
        writer.backup_file(__file__)  # delete this line if you are in a Jupyter Notebook
        writer.add_tag("test_tag")
        writer.save_dict("station_snapshot.json", station.snapshot())
        writer.save_text("note.md", "this is a test")
        writer.add_data(x=[1, 2, 3, 4], y=[1, 2, 3, 4])
    
    foldername, datadict = search_datadict(basedir, "2023-02-21", name="test", newest=True)  # use today's date
    print(foldername, datadict["x"]["values"], datadict["y"]["values"])
  • Plot data using plottr (manual):

    plottr-monitr D:\data-folder
    
  • Install qcodes_drivers:

    pip install git+https://github.com/qipe-nlab/qcodes_drivers.git
    
  • For time-domain experiments, install sequence_parser

  • Try the examples

  • To use HVI_Trigger, there must be an AWG in slot #2 of the PXI chassis

Other places to look for instrument drivers

Common issues