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
c59cc9b0
Commit
c59cc9b0
authored
May 04, 2018
by
Tammo Jan Dijkema
Browse files
Initialize hpib upon launching thread
parent
c5d3e7f5
Changes
1
Show whitespace changes
Inline
Side-by-side
camrasdevices.py
View file @
c59cc9b0
...
...
@@ -18,6 +18,7 @@ class CamrasHpibDevice(object):
if
not
command_thread
:
serial_port
=
serial
.
Serial
(
"/dev/ttyUSB0"
)
command_thread
=
serial
.
threaded
.
ReaderThread
(
serial_port
,
hpib
.
GPIBProtocol
)
command_thread
.
protocol
.
init_hpib
()
@
property
def
frequency
(
self
):
...
...
Write
Preview
Supports
Markdown
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