Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lucas Laplanche
EAM VCSEL
Commits
6d31f6a5
Commit
6d31f6a5
authored
Apr 22, 2021
by
Lucas Laplanche
Browse files
pnax visa
parent
14921720
Changes
1
Hide whitespace changes
Inline
Side-by-side
pnax.py
0 → 100755
View file @
6d31f6a5
import
pyvisa
def
check_ressources
():
rm
=
pyvisa
.
ResourceManager
()
ressources
=
rm
.
list_resources
()
print
(
ressources
)
for
r
in
ressources
:
my_instrument
=
rm
.
open_resource
(
r
)
print
(
my_instrument
.
query
(
'*IDN?'
))
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