Create alternatives to andor functions/variables in server/server.py inside server/dummy.py, which gets used if andor SDK/drivers not installed/available. Return plausible values of an acceptable type (check andor SDK docs).
Notes
Setter functions and functions marked with the void return type don't need to do anything.
Needed for testing and running at home.
Strategy
Create alternatives to andor functions/variables in
server/server.py
insideserver/dummy.py
, which gets used if andor SDK/drivers not installed/available. Return plausible values of an acceptable type (check andor SDK docs).Notes
Setter functions and functions marked with the
void
return type don't need to do anything.is fine.
Progress
In order of occurrence:
GetStatus()
GetAvailableCameras()
GetCameraHandle()
SetCurrentCamera()
Initialize()
SetAcquisitionMode()
SetShutter()
SetTemperature()
SetFanMode()
CoolerOFF()
GetTemperatureF()
DRV_TEMPERATURE_OFF
CoolerON()
DRV_SUCCESS
GetTemperatureStatus()
GetTemperatureRange()
ShutDown()
GetAcquisitionTimings()
GetNumberVSSpeeds()
GetNumberVSAmplitudes()
GetVSSpeed()
GetFastestRecommendedVSSpeed()
GetNumberHSSpeeds()
GetHSSpeed()
AbortAcquisition()
SetReadMode()
SetImage()
GetDetector()
SetShutter()
SetExposureTime()
StartAcquisition()
DRV_ACQUIRING
GetAcquiredData16()
SetKineticCycleTime()
GetAcquisitionProgress()
GetMostRecentImage16()
SetNumberAcculumations()
SetAccumulationCycleTime()
SetNumberKinetics()
SetTriggerMode()