Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
total_control_app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Drechsler
total_control_app
Commits
dca5cbb5
Commit
dca5cbb5
authored
5 years ago
by
Martin Drechsler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.df.uba.ar/martindrech/total_control_app
parents
ab555395
dccf1ed7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
andorzyla.py
drivers/andorzyla.py
+10
-1
No files found.
drivers/andorzyla.py
View file @
dca5cbb5
...
...
@@ -760,7 +760,16 @@ class AndorBase(SDK3Camera):
except
AttributeError
:
print
(
'AndorZyla object has no attribute _live_acq_auxs'
)
pData
,
lData
=
SDK3
.
WaitBuffer
(
self
.
handle
,
int
(
timeout
))
try
:
pData
,
lData
=
SDK3
.
WaitBuffer
(
self
.
handle
,
int
(
timeout
))
except
:
t
.
do_run
=
False
self
.
AcquisitionStop
()
self
.
_flush
()
print
(
'camera timeout'
)
t
.
join
()
break
img
=
create_aligned_array
(
xs
*
ys
,
'uint16'
)
SDK3
.
ConvertBuffer
(
bufs
[
self
.
acq_index_i
%
len
(
bufs
)]
.
ctypes
.
data_as
(
ctypes
.
POINTER
(
ctypes
.
c_uint8
)),
...
...
This diff is collapsed.
Click to expand it.
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