Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Experimental Physics
Quantum Circuits
python-repo
Commits
0b899317
Commit
0b899317
authored
Sep 16, 2021
by
Christian Schneider
Browse files
Adapted to Python 3.9 and pyvisa
parent
4c3fc0ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Instruments/Drivers/Keysight/B29XX.py
Instruments/Drivers/Keysight/B29XX.py
+1
-1
Instruments/SG.py
Instruments/SG.py
+2
-2
No files found.
Instruments/Drivers/Keysight/B29XX.py
View file @
0b899317
...
...
@@ -188,7 +188,7 @@ class B29XX(object):
raise
Exception
(
'MODERR'
)
else
:
if
mode
is
0
:
if
mode
==
0
:
self
.
com
(
cmd
,
'ZERO'
)
else
:
self
.
com
(
cmd
,
'HIZ'
)
...
...
Instruments/SG.py
View file @
0b899317
...
...
@@ -8,7 +8,7 @@ Date: 06.10.2017
"""
from
IPLIST
import
IPList
import
sys
import
visa
import
pyvisa
as
visa
try
:
from
Monitor.functions
import
update_db
,
check_db
...
...
@@ -320,7 +320,7 @@ def SG_multi(id_string, cryostat, channel_list, timeout=1800, driver=None,
raise
Exception
(
'SG not in IPList.'
)
# Connect to device
rm
=
visa
.
ResourceManager
()
rm
=
visa
.
ResourceManager
(
"@py"
)
instr
=
rm
.
open_resource
(
'TCPIP::{}::INSTR'
.
format
(
ip
))
# Create objects for each channel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment