Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
auke.klazema
HPIB
Commits
fe75724e
Commit
fe75724e
authored
Feb 16, 2018
by
auke.klazema
Browse files
Rename of HpibDevice Class
parent
be7c998e
Changes
2
Hide whitespace changes
Inline
Side-by-side
hpib.py
View file @
fe75724e
...
...
@@ -118,7 +118,7 @@ class GPIB_232_485CT_A():
self
.
_commandCount
=
self
.
_serialPort
.
write
(
self
.
_commandStr
)
class
h
pib
_d
evice
():
class
H
pib
D
evice
():
def
__init__
(
self
,
hpib_address
,
port
,
keepLocal
=
False
,
pause
=
0
):
self
.
_hpib_address
=
hpib_address
self
.
_port
=
port
...
...
startup.py
View file @
fe75724e
...
...
@@ -8,9 +8,9 @@ import time
p
=
hpib
.
PrologixGpibUsb
()
sml
=
hpib
.
h
pib
_d
evice
(
28
,
p
)
smx
=
hpib
.
h
pib
_d
evice
(
14
,
p
)
esmc
=
hpib
.
h
pib
_d
evice
(
1
,
p
)
sml
=
hpib
.
H
pib
D
evice
(
28
,
p
)
smx
=
hpib
.
H
pib
D
evice
(
14
,
p
)
esmc
=
hpib
.
H
pib
D
evice
(
1
,
p
)
DT
=
telescope
.
telescope
(
math
.
radians
(
52.812019
),
math
.
radians
(
6.396169
),
25.0
,
connect
=
True
)
print
sml
.
query
(
"*IDN?"
)
print
esmc
.
query
(
"*IDN?"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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