Script execution
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
###################################################################################################
|
||||
# Using bsearch(Binary Search) and hsearch(Hill Climbing Search) to find optimum
|
||||
###################################################################################################
|
||||
|
||||
run("camtool")
|
||||
|
||||
|
||||
image_stats.start()
|
||||
image_stats.setNumberOfImages(5)
|
||||
laser_off()
|
||||
image_stats.captureBackground(10)
|
||||
laser_on()
|
||||
image_stats.setNumberOfImages(5)
|
||||
if get_device("camtool") is None:
|
||||
|
||||
run("camtool")
|
||||
add_device(CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = True, camera = "SINEG01-DSCR190"), True)
|
||||
image_stats.start()
|
||||
image_stats.setNumberOfImages(5)
|
||||
laser_off()
|
||||
image_stats.captureBackground(10)
|
||||
laser_on()
|
||||
image_stats.setNumberOfImages(5)
|
||||
image_stats.enableBackground
|
||||
(True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user