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
LimaGroup
Lima-camera-frelon
Commits
20678d0a
Commit
20678d0a
authored
Aug 24, 2009
by
kirov
Browse files
...
git-svn-id:
https://scm.blissgarden.org/svn/lima/trunk@144
45c4679d-1946-429d-baad-37912b19538b
parent
ba3fc21e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/testfreloninterface.py
View file @
20678d0a
...
...
@@ -28,6 +28,26 @@ hw_inter = lima.Frelon.Interface(acq, buffer_mgr, cam)
print
"Creating BufferSave"
buffer_save
=
lima
.
BufferSave
(
lima
.
BufferSave
.
EDF
,
"img"
,
0
,
".edf"
,
True
,
1
)
print
"Getting HW detector info"
hw_det_info
=
hw_inter
.
getHwCtrlObj
(
lima
.
HwCap
.
DetInfo
)
print
type
(
hw_det_info
)
print
"Getting HW buffer"
hw_buffer
=
hw_inter
.
getHwCtrlObj
(
lima
.
HwCap
.
Buffer
)
print
type
(
hw_buffer
)
print
"Getting HW Sync"
hw_sync
=
hw_inter
.
getHwCtrlObj
(
lima
.
HwCap
.
Sync
)
print
type
(
hw_sync
)
print
"Getting HW Bin"
hw_bin
=
hw_inter
.
getHwCtrlObj
(
lima
.
HwCap
.
Bin
)
print
type
(
hw_bin
)
print
"Getting HW RoI"
hw_roi
=
hw_inter
.
getHwCtrlObj
(
lima
.
HwCap
.
Roi
)
print
type
(
hw_roi
)
s
=
raw_input
(
'Reset the hardware? (y/n):'
)
if
s
[
0
]
==
'y'
or
s
[
0
]
==
'Y'
:
hw_inter
.
reset
(
lima
.
HwInterface
.
HardReset
)
...
...
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