Exopy / exopy_hqc_legacy

Transition package to smooth transition from HQCMeas to Exopy.
BSD 3-Clause "New" or "Revised" License
0 stars 10 forks source link

Error in handling settings for the magnetic source CS4 #18

Closed lcontami closed 7 years ago

lcontami commented 7 years ago

Unfinished business in Ecpy/ecpy_hqc_legacy#6

When enqueueing (?) a measure containing an apply_magnetic_field task, error message :

''' Traceback (most recent call last): File "d:\users\hqc\documents\ecpy_hqc_legacy\ecpy_hqc_legacy\instruments\drivers\visa\cryomagnetics_cs4.py", line 39, in init mc = connection_info['magnet_conversion'] KeyError: 'magnet_conversion'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "d:\users\hqc\documents\ecpy_hqc_legacy\ecpy_hqc_legacy\instruments\starters\legacy_starter.py", line 39, in check_infos driver = driver_cls(c) File "d:\users\hqc\documents\ecpy_hqc_legacy\ecpy_hqc_legacy\instruments\drivers\visa\cryomagnetics_cs4.py", line 45, in init the switch heater current is correct.''')) ecpy_hqc_legacy.instruments.drivers.driver_tools.InstrIOError: The field to current ratio of the currently used magnet need to be specified in the instrument settings. One should also check that the switch heater current is correct. '''

MatthieuDartiailh commented 7 years ago

At least we know that the error message is helpful.