Commit 20678d0a authored by kirov's avatar kirov

...



git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@144 45c4679d-1946-429d-baad-37912b19538b
parent ba3fc21e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment