Example with the microwave source SC5521A from Signal Core¶
[1]:
import qcodes as qc
from qcodes_contrib_drivers.drivers.SignalCore.SignalCore import SC5521A
Logging hadn't been started.
Activating auto-logging. Current session state plus future input saved.
Filename : C:\Users\ed261978\.qcodes\logs\command_history.log
Mode : append
Output logging : True
Raw input log : False
Timestamping : True
State : active
Qcodes Logfile : C:\Users\ed261978\.qcodes\logs\210604-4564-qcodes.log
Device connection¶
Install the set-up software for your device and computer architecture here: https://www.signalcore.com/40ghz_signal-source.html
This will install the needed DLL in the default path:
C:\Program Files\SignalCore\SC5520A\api\c\scipci\x64\sc5520a_uhfs.dll
.The driver will automatically recognize and connect to the signal core connected to the computer.
[2]:
sc = SC5521A('mw1')
Connected to: SignalCore SC5521A (serial:268445854, firmware:2.0199999809265137) in 0.06s
[3]:
sc.print_readable_snapshot(update=True)
mw1:
parameter value
--------------------------------------------------------------------------------
IDN : {'vendor': 'SignalCore', 'model': 'SC5521A', 'serial': 2684...
clock_frequency : 100 (MHz)
clock_reference : internal
frequency : 5e+08 (Hz)
power : 0 (dbm)
rf_mode : single_tone
status : on
temperature : 45.406 (celsius)
[4]:
sc.get_idn()
[4]:
{'vendor': 'SignalCore',
'model': 'SC5521A',
'serial': 268445854,
'firmware': 2.0199999809265137,
'hardware': 5.0,
'manufacture_date': '2021-3-12 at 11h'}
Set parameters¶
[5]:
sc.frequency(10e9)
[6]:
sc.frequency()
[6]:
10000000000.0
[14]:
sc.power(-10)
[15]:
sc.power()
[15]:
-10.0