forked from mainCSG/SpanishAcquisitionIQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-config.py
executable file
·34 lines (33 loc) · 1012 Bytes
/
test-config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
global config
# Addresses of devices with which to test.
config['devices'] = {}
config['devices']['AWG5014B'] = {
'address': {'ip_address': '192.0.2.123'},
'manufacturer': 'Tektronix',
'model': 'AWG5014B',
}
config['devices']['DM34410A'] = {
'address': {'gpib_board': 0, 'gpib_pad': 1},
'manufacturer': 'Agilent',
'model': '34410A',
}
config['devices']['VoltageSource'] = {
'address': {'usb_resource': 'USB0::0x3923::0x7166::01234567::RAW'}, #This is the wrong address
'manufacturer': 'IQC',
'model': 'Voltage source',
}
config['devices']['ch6VoltageSource'] = {
'address': {'usb_resource': 'USB0::0x3923::0x7166::01300DB9::RAW'},
'manufacturer': 'IQC',
'model': 'ch6 Voltage source',
}
config['devices']['TC335'] = {
'address': {'gpib_board': 0, 'gpib_pad': 1}, #This address is wrong.
'manufacturer': 'Lakeshore',
'model': '335 Temperature Controller',
}
config['devices']['Model4G'] = {
'address': {'gpib_board': 0, 'gpib_pad': 23},
'manufacturer': 'Cryomagnetics',
'model': 'Model 4G',
}