Frequently Asked Questions

My experiment does not run properly, how can I find out the reason?

Have a look in the execution log and look for the WARNING or ERROR flag. If this is not present, it may be useful to switch to a lower log level and check for any peculiarities (see below).

It can be useful to compare the log with a known good experiment, what are the differences?

Can I adjust the amount of log messages generated?

Yes, logging levels are fully adjustable and follow the Python logging standard.

Available levels are: DEBUG, INFO (default), WARNING, ERROR.

As an example, to create and connect to a session and set the log level to DEBUG, use

import logging
session = Session(device_setup=my_setup, log_level=logging.DEBUG)

Be aware that DEBUG logging creates a large amount of output.

It is also possible to change the log level of an already open session at any point using e.g.

import logging
laboneq_logging.set_level(logging.DEBUG)

or even use your own python logger to collect LabOne Q log messages

# create and connect to the session, without any laboneq logging
session = Session(device_setup=device_setup, configure_logging=False)

# configure your own logging.getLogger() here

What can I do when my (randomized benchmarking) experiment exceeds the waveform or instruction limit of my instruments?

You can try to find an optimum trade-off between number of sequencer instructions and consumed waveform memory for your experiment. The Tips & Tricks explain how this is done.