Ulm-IQO / qudi-iqo-modules

A collection of qudi measurement modules originally developed for experiments on colorcenters in semiconductor materials.
GNU General Public License v3.0
12 stars 29 forks source link

Fastcomtec get sweeps #142

Closed NicolasStaudenmaier closed 3 months ago

NicolasStaudenmaier commented 4 months ago

Get the current number of sweeps and runtime of the FastComtec MCS6 while running a measurement.

Description

The FastComtec counter model MCS6 has the possibility to read the number of sweeps and runtime when a measurement is performed. This has not been implemented so far and is added with this PR.

Motivation and Context

The info_dict when getting the data trace returns None. Also when the measurement is saved the information about the elapsed sweeps will not be saved. By simply querying the sweeps and runtime of the fastcounter the values are available for the user especially once the measurement is saved.

How Has This Been Tested?

Tested on my setup with real hardware MCS6A.

Screenshots (only if appropriate, delete if not):

Types of changes

Checklist:

rmgonzal commented 4 months ago

I tested with my setup FastComtec MCS6 and it works (saved measurement with info_dict = {'elapsed_sweeps', 'elapsed_time'}) also the values are available in the PulsedMeasurementGui rather than -1. scree @timoML Could you check this with your hardware?