Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
HPIB
Commits
edb25e27
Commit
edb25e27
authored
Apr 27, 2018
by
Tammo Jan Dijkema
Browse files
Make class variable local
parent
8d95c410
Changes
1
Show whitespace changes
Inline
Side-by-side
hpib.py
View file @
edb25e27
...
...
@@ -172,9 +172,9 @@ class HpibDevice(object):
time
.
sleep
(
self
.
_pause
)
def
query
(
self
,
queryStr
):
self
.
_
answerStr
=
self
.
_port
.
query
(
self
.
_hpib_address
,
queryStr
)
answerStr
=
self
.
_port
.
query
(
self
.
_hpib_address
,
queryStr
)
self
.
set_local
(
self
.
_keepLocal
)
return
self
.
_
answerStr
return
answerStr
def
get_devices
(
self
):
return
[
"Not implemented"
]
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