Create a set of general functions that incorporate required routines for adequate use of the CCD sensor.
Needed:
- Functions to place directly in the acquisition routines:
initialize() -> Incorporates DLL initialization, device type check, output info.
set(binning, exposure, gain, offset) -> Set the variables and output if any error was produced
capture() -> Capture image using internal trigger mode. We need to establish a protocol to sync the execution of this function with the source blinking. Decide on this to configure this function's API.
finish() -> close cam and library.
- A way to verify that the called functions are successful at the DLL level. Perhaps implemented through a decorator? (optional)
Create a set of general functions that incorporate required routines for adequate use of the CCD sensor.
Needed:
initialize()-> Incorporates DLL initialization, device type check, output info.set(binning, exposure, gain, offset)-> Set the variables and output if any error was producedcapture()-> Capture image using internal trigger mode. We need to establish a protocol to sync the execution of this function with the source blinking. Decide on this to configure this function's API.finish()-> close cam and library.