2804.513 DMCamera Debug : SerialEMCCD: COM was initialized through DllMain 2804.513 DMCamera executing script : number major, minor, build GetApplicationVersion(major, minor, build) Exit(10000 * major + minor) 2804.513 DMCamera Debug : Return value = 30011 2804.513 DMCamera Debug : retval = 30011, code = 753b, version = 50101 2804.513 DMCamera Debug : Going to start socket Welcome to DigitalMicrograph. 8/25/2016, 4:28:02 PM 2838.069 DMCamera Debug : SerialEMSocket: Accepted connection 2838.085 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 2838.085 DMCamera Debug : Return value = -1 2838.100 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 2838.100 DMCamera Debug : Return value = -1 2838.100 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.116 DMCamera Debug : Return value = -1 2838.116 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.116 DMCamera Debug : Return value = -1 2838.131 DMCamera executing script : if ( DoesFunctionExist("AFDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 2838.131 DMCamera Debug : Return value = -1 2838.131 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 2838.147 DMCamera Debug : Return value = -1 2838.147 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 2838.147 DMCamera Debug : Return value = -1 2838.163 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.163 DMCamera Debug : Return value = -1 2838.163 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.178 DMCamera Debug : Return value = -1 2838.178 DMCamera executing script : if ( DoesFunctionExist("IFCDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 2838.178 DMCamera Debug : Return value = -1 2838.194 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 2838.194 DMCamera Debug : Return value = -1 2838.209 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 2838.209 DMCamera Debug : Return value = -1 2838.209 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.225 DMCamera Debug : Return value = -1 2838.225 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 2838.225 DMCamera Debug : Return value = -1 2838.241 DMCamera executing script : if ( DoesFunctionExist("GT_CenterZLP") ) { Exit(1.0); } else { Exit(-1.0); } 2838.241 DMCamera Debug : Return value = -1 2838.256 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2838.256 DMCamera Debug : Return value = 0 2838.272 DMCamera Debug : SetK2Parameters called with save Y flags 0 2838.272 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16282300 2838.287 DMCamera Debug : Trying to create X:\raw_stacks\ 2838.287 DMCamera Debug : SetupFileSaving error is 12 2838.287 2838.287 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 2838.303 DMCamera Debug : Waiting for exposure and frame sum to complete 0 2838.303 DMCamera Debug : Return value = 0 2841.610 DMCamera Debug : Returned from asynchronous start of acquire 2852.577 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 2852.577 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 2852.702 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 2852.795 DMCamera Debug : Partial sum completed by thread 2852.811 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 2852.811 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 2852.827 DMCamera Debug : Starting to grab frames from rest of stack 2852.905 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 2853.014 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 2853.123 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 2853.217 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2853.217 DMCamera Debug : Return value = 0 2853.232 DMCamera Debug : SetK2Parameters called with save N flags 0 2853.232 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2853.232 DMCamera Debug : 2853.232 Got frame 5 of 40 exp done 1 elapsed F 0.00 DMCamera Debug : Trying to create X:\raw_stacks\ 2853.248 DMCamera Debug : SetupFileSaving error is 12 2853.248 DMCamera Debug : Waiting for ready for single-shot 0 2853.341 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 2853.451 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 2853.560 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 2853.669 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 2853.763 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 2853.872 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 2853.981 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 2854.090 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 2854.184 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 2854.293 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 2854.402 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 2854.496 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 2854.605 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 2854.714 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 2854.808 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 2854.917 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 2855.026 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 2855.120 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 2855.229 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 2855.338 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 2855.447 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 2855.557 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 2855.666 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 2855.759 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 2855.869 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 2855.978 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 2856.087 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 2856.196 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 2856.305 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 2856.415 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 2856.524 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 2856.633 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 2856.742 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 2856.851 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 2857.226 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 2857.257 DMCamera Debug : Done with stack, processing grabbed frames 2857.304 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2860.283 DMCamera Debug : Return value = 26 2860.283 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2860.299 DMCamera Debug : Converting unsigned integers to unsigned shorts 2860.315 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2860.315 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2860.408 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2860.408 DMCamera Debug : Return value = 0 2860.424 DMCamera Debug : SetK2Parameters called with save N flags 0 2860.424 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2860.424 DMCamera Debug : Trying to create X:\raw_stacks\ 2860.439 DMCamera Debug : SetupFileSaving error is 12 2860.439 DMCamera Debug : Waiting for ready for single-shot 0 2860.455 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2863.060 DMCamera Debug : Return value = 28 2863.076 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2863.076 DMCamera Debug : Converting unsigned integers to unsigned shorts 2863.091 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2863.107 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2866.570 DMCamera Debug : Processing 1.628 saving 7.701 getting frame 3.447 sec 2866.602 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 2888.270 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2888.270 DMCamera Debug : Return value = 0 2888.270 DMCamera Debug : SetK2Parameters called with save Y flags 0 2888.286 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16291301 2888.286 DMCamera Debug : Trying to create X:\raw_stacks\ 2888.286 DMCamera Debug : SetupFileSaving error is 12 2888.301 DMCamera Debug : Waiting for thread to end 0 2888.317 2888.317 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 2888.317 DMCamera Debug : Waiting for exposure and frame sum to complete 0 2888.317 DMCamera Debug : Return value = 0 2888.629 DMCamera Debug : Returned from asynchronous start of acquire 2899.596 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 2899.596 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 2899.752 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 2899.830 DMCamera Debug : Partial sum completed by thread 2899.845 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 2899.845 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 2899.861 DMCamera Debug : Starting to grab frames from rest of stack 2899.939 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 2900.048 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 2900.157 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 2900.251 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 2900.298 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2900.298 DMCamera Debug : Return value = 0 2900.313 DMCamera Debug : SetK2Parameters called with save N flags 0 2900.313 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2900.329 DMCamera Debug : Trying to create X:\raw_stacks\ 2900.329 DMCamera Debug : SetupFileSaving error is 12 2900.345 DMCamera Debug : Waiting for ready for single-shot 0 2900.360 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 2900.469 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 2900.563 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 2900.672 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 2900.781 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 2900.875 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 2900.984 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 2901.093 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 2901.203 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 2901.296 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 2901.405 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 2901.515 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 2901.624 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 2901.733 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 2901.842 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 2901.951 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 2902.045 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 2902.154 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 2902.263 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 2902.373 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 2902.482 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 2902.591 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 2902.700 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 2902.809 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 2902.903 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 2903.012 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 2903.121 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 2903.231 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 2903.340 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 2903.449 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 2903.558 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 2903.683 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 2903.792 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 2903.901 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 2904.260 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 2904.291 DMCamera Debug : Done with stack, processing grabbed frames 2904.323 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2907.271 DMCamera Debug : Return value = 32 2907.287 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2907.287 DMCamera Debug : Converting unsigned integers to unsigned shorts 2907.302 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2907.302 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2907.458 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2907.458 DMCamera Debug : Return value = 0 2907.474 DMCamera Debug : SetK2Parameters called with save N flags 0 2907.474 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2907.474 DMCamera Debug : Trying to create X:\raw_stacks\ 2907.489 DMCamera Debug : SetupFileSaving error is 12 2907.489 DMCamera Debug : Waiting for ready for single-shot 0 2907.505 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2910.110 DMCamera Debug : Return value = 34 2910.110 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2910.110 DMCamera Debug : Converting unsigned integers to unsigned shorts 2910.141 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2910.141 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2914.166 DMCamera Debug : Processing 1.676 saving 8.220 getting frame 3.481 sec 2914.182 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 2938.284 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2938.284 DMCamera Debug : Return value = 0 2938.284 DMCamera Debug : SetK2Parameters called with save Y flags 0 2938.315 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16300302 2938.315 DMCamera Debug : Trying to create X:\raw_stacks\ 2938.331 DMCamera Debug : SetupFileSaving error is 12 2938.331 DMCamera Debug : Waiting for thread to end 0 2938.346 2938.346 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 2938.346 DMCamera Debug : Waiting for exposure and frame sum to complete 0 2938.346 DMCamera Debug : Return value = 0 2938.674 DMCamera Debug : Returned from asynchronous start of acquire 2949.641 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 2949.641 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 2949.766 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 2949.844 DMCamera Debug : Partial sum completed by thread 2949.859 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 2949.859 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 2949.875 DMCamera Debug : Starting to grab frames from rest of stack 2949.953 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 2950.062 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 2950.156 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 2950.265 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 2950.327 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2950.327 DMCamera Debug : Return value = 0 2950.343 DMCamera Debug : SetK2Parameters called with save N flags 0 2950.343 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2950.343 DMCamera Debug : Trying to create X:\raw_stacks\ 2950.358 DMCamera Debug : SetupFileSaving error is 12 2950.358 DMCamera Debug : Waiting for ready for single-shot 0 2950.374 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 2950.468 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 2950.577 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 2950.670 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 2950.780 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 2950.889 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 2950.998 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 2951.092 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 2951.201 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 2951.310 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 2951.404 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 2951.513 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 2951.606 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 2951.716 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 2951.825 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 2951.934 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 2952.043 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 2952.137 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 2952.246 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 2952.355 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 2952.464 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 2952.574 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 2952.683 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 2952.792 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 2952.901 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 2952.995 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 2953.104 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 2953.213 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 2953.322 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 2953.432 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 2953.541 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 2953.650 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 2953.775 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 2953.884 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 2954.258 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 2954.290 DMCamera Debug : Done with stack, processing grabbed frames 2954.321 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2957.316 DMCamera Debug : Return value = 38 2957.316 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2957.316 DMCamera Debug : Converting unsigned integers to unsigned shorts 2957.332 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2957.347 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2957.472 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 2957.488 DMCamera Debug : Return value = 0 2957.488 DMCamera Debug : SetK2Parameters called with save N flags 0 2957.488 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 2957.488 DMCamera Debug : Trying to create X:\raw_stacks\ 2957.503 DMCamera Debug : SetupFileSaving error is 12 2957.503 DMCamera Debug : Waiting for ready for single-shot 0 2957.519 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 2960.202 DMCamera Debug : Return value = 40 2960.202 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 2960.218 DMCamera Debug : Converting unsigned integers to unsigned shorts 2960.233 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 2960.249 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 2965.132 DMCamera Debug : Processing 1.596 saving 9.275 getting frame 3.483 sec 2965.163 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3070.495 DMCamera Debug : SerialEMSocket: Closing socket 2144 3070.963 DMCamera Debug : SerialEMSocket: Accepted connection 3070.978 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3070.978 DMCamera Debug : Return value = -1 3070.978 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3070.978 DMCamera Debug : Return value = -1 3070.994 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3070.994 DMCamera Debug : Return value = -1 3070.994 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3070.994 DMCamera Debug : Return value = -1 3071.010 DMCamera executing script : if ( DoesFunctionExist("AFDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3071.010 DMCamera Debug : Return value = -1 3071.010 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3071.010 DMCamera Debug : Return value = -1 3071.025 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3071.025 DMCamera Debug : Return value = -1 3071.025 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3071.025 DMCamera Debug : Return value = -1 3071.041 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3071.041 DMCamera Debug : Return value = -1 3071.041 DMCamera executing script : if ( DoesFunctionExist("IFCDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3071.041 DMCamera Debug : Return value = -1 3071.056 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3071.056 DMCamera Debug : Return value = -1 3071.056 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3071.056 DMCamera Debug : Return value = -1 3071.072 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3071.072 DMCamera Debug : Return value = -1 3071.072 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3071.088 DMCamera Debug : Return value = -1 3071.088 DMCamera executing script : if ( DoesFunctionExist("GT_CenterZLP") ) { Exit(1.0); } else { Exit(-1.0); } 3071.088 DMCamera Debug : Return value = -1 3071.103 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3071.103 DMCamera Debug : Return value = 0 3071.119 DMCamera Debug : SetK2Parameters called with save Y flags 0 3071.119 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 0 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16321600 3071.119 DMCamera Debug : Trying to create X:\raw_stacks\ 3071.134 DMCamera Debug : SetupFileSaving error is 12 3071.134 DMCamera Debug : Waiting for thread to end 0 3071.150 3071.150 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3071.150 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3071.150 DMCamera Debug : Return value = 0 3071.446 DMCamera Debug : Returned from asynchronous start of acquire 3082.398 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3082.398 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3082.413 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3082.413 DMCamera Debug : retval = 0, err sending args 0, sending image 2048 in 1 chunks 3082.429 DMCamera Debug : Starting to grab frames from rest of stack 3082.507 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3082.507 DMCamera Debug : Return value = 0 3082.507 DMCamera Debug : SetK2Parameters called with save N flags 0 3082.523 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3082.523 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3082.523 DMCamera Debug : Trying to create X:\raw_stacks\ 3082.523 DMCamera Debug : SetupFileSaving error is 12 3082.523 DMCamera Debug : Waiting for ready for single-shot 0 3082.616 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3082.725 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3082.819 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3082.928 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3083.037 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3083.131 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3083.240 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3083.349 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3083.443 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3083.537 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3083.646 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3083.755 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3083.849 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3083.958 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3084.067 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3084.161 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3084.270 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3084.379 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3084.488 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3084.582 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3084.691 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3084.785 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3084.894 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3084.987 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3085.081 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3085.190 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3085.284 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 3085.393 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 3085.502 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 3085.611 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 3085.705 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 3085.830 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 3085.939 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 3086.033 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 3086.142 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3086.251 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3086.360 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 3086.750 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3086.766 DMCamera Debug : Done with stack, processing grabbed frames 3086.813 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3089.792 DMCamera Debug : Return value = 44 3089.792 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3089.792 DMCamera Debug : Converting unsigned integers to unsigned shorts 3089.808 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3089.823 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3095.003 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3095.018 DMCamera Debug : Return value = 0 3095.018 DMCamera Debug : SetK2Parameters called with save N flags 0 3095.018 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3095.018 DMCamera Debug : Trying to create X:\raw_stacks\ 3095.018 DMCamera Debug : SetupFileSaving error is 12 3095.034 DMCamera Debug : Waiting for ready for single-shot 0 3095.049 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3096.001 DMCamera Debug : Processing 1.603 saving 7.653 getting frame 3.393 sec 3096.001 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3097.655 DMCamera Debug : Return value = 46 3097.655 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3097.670 DMCamera Debug : Converting unsigned integers to unsigned shorts 3097.686 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3097.686 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3121.117 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3121.117 DMCamera Debug : Return value = 0 3121.117 DMCamera Debug : SetK2Parameters called with save Y flags 0 3121.133 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 0 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16330601 3121.133 DMCamera Debug : Trying to create X:\raw_stacks\ 3121.133 DMCamera Debug : SetupFileSaving error is 12 3121.148 DMCamera Debug : Waiting for thread to end 0 3121.164 3121.164 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3121.164 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3121.164 DMCamera Debug : Return value = 0 3121.476 DMCamera Debug : Returned from asynchronous start of acquire 3132.880 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3132.880 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3132.895 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3132.895 DMCamera Debug : retval = 0, err sending args 0, sending image 2048 in 1 chunks 3132.911 DMCamera Debug : Starting to grab frames from rest of stack 3132.942 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3132.942 DMCamera Debug : Return value = 0 3132.958 DMCamera Debug : SetK2Parameters called with save N flags 0 3132.958 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3132.958 DMCamera Debug : Trying to create X:\raw_stacks\ 3132.958 DMCamera Debug : SetupFileSaving error is 12 3132.973 DMCamera Debug : Waiting for ready for single-shot 0 3132.989 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3133.098 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3133.207 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3133.301 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3133.410 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3133.504 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3133.613 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3133.722 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3133.816 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3133.925 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3134.034 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3134.143 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3134.237 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3134.346 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3134.455 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3134.564 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3134.658 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3134.767 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3134.861 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3134.970 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3135.079 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3135.173 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3135.282 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3135.376 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3135.485 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3135.594 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3135.688 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3135.797 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 3135.906 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 3136.000 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 3136.109 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 3136.202 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 3136.312 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 3136.436 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 3136.546 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 3136.655 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3136.764 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3136.904 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 3137.263 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3137.294 DMCamera Debug : Done with stack, processing grabbed frames 3137.326 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3140.274 DMCamera Debug : Return value = 50 3140.274 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3140.290 DMCamera Debug : Converting unsigned integers to unsigned shorts 3140.305 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3140.305 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3145.469 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3145.485 DMCamera Debug : Return value = 0 3145.485 DMCamera Debug : SetK2Parameters called with save N flags 0 3145.485 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3145.485 DMCamera Debug : Trying to create X:\raw_stacks\ 3145.500 DMCamera Debug : SetupFileSaving error is 12 3145.500 DMCamera Debug : Waiting for ready for single-shot 0 3145.516 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3146.686 DMCamera Debug : Processing 1.598 saving 7.821 getting frame 3.359 sec 3146.701 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3148.121 DMCamera Debug : Return value = 52 3148.121 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3148.137 DMCamera Debug : Converting unsigned integers to unsigned shorts 3148.152 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3148.152 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3171.131 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3171.131 DMCamera Debug : Return value = 0 3171.131 DMCamera Debug : SetK2Parameters called with save Y flags 0 3171.147 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 0 grab 40 copy NO dir X:\raw_stacks\ root 20160825_16335602 3171.147 DMCamera Debug : Trying to create X:\raw_stacks\ 3171.147 DMCamera Debug : SetupFileSaving error is 12 3171.147 DMCamera Debug : Waiting for thread to end 0 3171.178 3171.178 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3171.178 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3171.178 DMCamera Debug : Return value = 0 3171.474 DMCamera Debug : Returned from asynchronous start of acquire 3182.613 DMCamera Debug : Got frame 1 of 40 exp done 0 elapsed T 0.33 3182.613 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3182.644 DMCamera Debug : Starting to grab frames from rest of stack 3182.722 DMCamera Debug : Got frame 2 of 40 exp done 0 elapsed T 0.44 3182.831 DMCamera Debug : Got frame 3 of 40 exp done 0 elapsed T 0.55 3182.956 DMCamera Debug : Got frame 4 of 40 exp done 0 elapsed T 0.67 3183.065 DMCamera Debug : Got frame 5 of 40 exp done 0 elapsed T 0.78 3183.174 DMCamera Debug : Got frame 6 of 40 exp done 0 elapsed T 0.89 3183.284 DMCamera Debug : Got frame 7 of 40 exp done 0 elapsed T 1.00 3183.393 DMCamera Debug : Got frame 8 of 40 exp done 0 elapsed T 1.11 3183.502 DMCamera Debug : Got frame 9 of 40 exp done 0 elapsed T 1.22 3183.627 DMCamera Debug : Got frame 10 of 40 exp done 0 elapsed T 1.34 3183.736 DMCamera Debug : Got frame 11 of 40 exp done 0 elapsed T 1.45 3183.861 DMCamera Debug : Got frame 12 of 40 exp done 0 elapsed T 1.58 3183.986 DMCamera Debug : Got frame 13 of 40 exp done 0 elapsed T 1.70 3184.095 DMCamera Debug : Got frame 14 of 40 exp done 0 elapsed T 1.81 3184.220 DMCamera Debug : Got frame 15 of 40 exp done 0 elapsed T 1.94 3184.344 DMCamera Debug : Got frame 16 of 40 exp done 0 elapsed T 2.06 3184.454 DMCamera Debug : Got frame 17 of 40 exp done 0 elapsed T 2.17 3184.578 DMCamera Debug : Got frame 18 of 40 exp done 0 elapsed T 2.29 3184.688 DMCamera Debug : Got frame 19 of 40 exp done 0 elapsed T 2.40 3184.812 DMCamera Debug : Got frame 20 of 40 exp done 0 elapsed T 2.53 3184.953 DMCamera Debug : Got frame 21 of 40 exp done 0 elapsed T 2.67 3185.078 DMCamera Debug : Got frame 22 of 40 exp done 0 elapsed T 2.79 3185.202 DMCamera Debug : Got frame 23 of 40 exp done 0 elapsed T 2.92 3185.327 DMCamera Debug : Got frame 24 of 40 exp done 0 elapsed T 3.04 3185.452 DMCamera Debug : Got frame 25 of 40 exp done 0 elapsed T 3.17 3185.577 DMCamera Debug : Got frame 26 of 40 exp done 0 elapsed T 3.29 3185.702 DMCamera Debug : Got frame 27 of 40 exp done 0 elapsed T 3.42 3185.826 DMCamera Debug : Got frame 28 of 40 exp done 0 elapsed T 3.54 3185.936 DMCamera Debug : Got frame 29 of 40 exp done 0 elapsed T 3.65 3186.060 DMCamera Debug : Got frame 30 of 40 exp done 0 elapsed T 3.77 3186.185 DMCamera Debug : Got frame 31 of 40 exp done 0 elapsed T 3.90 3186.294 DMCamera Debug : Got frame 32 of 40 exp done 0 elapsed T 4.01 3186.419 DMCamera Debug : Got frame 33 of 40 exp done 0 elapsed T 4.13 3186.560 DMCamera Debug : Got frame 34 of 40 exp done 0 elapsed T 4.28 3186.684 DMCamera Debug : Got frame 35 of 40 exp done 0 elapsed T 4.40 3186.809 DMCamera Debug : Got frame 36 of 40 exp done 0 elapsed T 4.52 3186.934 DMCamera Debug : Got frame 37 of 40 exp done 0 elapsed T 4.65 3187.059 DMCamera Debug : Got frame 38 of 40 exp done 0 elapsed T 4.77 3187.184 DMCamera Debug : Got frame 39 of 40 exp done 0 elapsed T 4.90 3187.589 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3187.605 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3187.605 DMCamera Debug : retval = 0, err sending args 0, sending image 2048 in 1 chunks 3187.636 DMCamera Debug : Done with stack, processing grabbed frames 3187.652 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3187.667 DMCamera Debug : Return value = 0 3187.667 DMCamera Debug : SetK2Parameters called with save N flags 0 3187.667 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3187.667 DMCamera Debug : Trying to create X:\raw_stacks\ 3187.683 DMCamera Debug : SetupFileSaving error is 12 3187.683 DMCamera Debug : Waiting for ready for single-shot 0 3187.698 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3190.756 DMCamera Debug : Return value = 56 3190.756 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3190.756 DMCamera Debug : Converting unsigned integers to unsigned shorts 3190.787 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3190.787 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3190.928 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3190.928 DMCamera Debug : Return value = 0 3190.943 DMCamera Debug : SetK2Parameters called with save N flags 0 3190.943 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3190.943 DMCamera Debug : Trying to create X:\raw_stacks\ 3190.943 DMCamera Debug : SetupFileSaving error is 12 3190.959 DMCamera Debug : Waiting for ready for single-shot 0 3190.974 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3193.782 DMCamera Debug : Return value = 58 3193.782 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3193.782 DMCamera Debug : Converting unsigned integers to unsigned shorts 3193.814 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3193.829 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3198.462 DMCamera Debug : Processing 1.685 saving 9.175 getting frame 3.439 sec 3198.462 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3355.056 DMCamera Debug : SerialEMSocket: Closing socket 2144 3355.524 DMCamera Debug : SerialEMSocket: Accepted connection 3355.540 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3355.540 DMCamera Debug : Return value = -1 3355.540 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3355.540 DMCamera Debug : Return value = -1 3355.555 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.555 DMCamera Debug : Return value = -1 3355.555 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.555 DMCamera Debug : Return value = -1 3355.571 DMCamera executing script : if ( DoesFunctionExist("AFDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3355.571 DMCamera Debug : Return value = -1 3355.571 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3355.571 DMCamera Debug : Return value = -1 3355.587 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3355.587 DMCamera Debug : Return value = -1 3355.587 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.587 DMCamera Debug : Return value = -1 3355.587 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.602 DMCamera Debug : Return value = -1 3355.602 DMCamera executing script : if ( DoesFunctionExist("IFCDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3355.602 DMCamera Debug : Return value = -1 3355.602 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3355.618 DMCamera Debug : Return value = -1 3355.618 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3355.618 DMCamera Debug : Return value = -1 3355.618 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.633 DMCamera Debug : Return value = -1 3355.633 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3355.633 DMCamera Debug : Return value = -1 3355.633 DMCamera executing script : if ( DoesFunctionExist("GT_CenterZLP") ) { Exit(1.0); } else { Exit(-1.0); } 3355.633 DMCamera Debug : Return value = -1 3355.649 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3355.665 DMCamera Debug : Return value = 0 3355.665 DMCamera Debug : SetK2Parameters called with save Y flags 0 3355.665 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 1 copy NO dir X:\raw_stacks\ root 20160825_16370000 3355.680 DMCamera Debug : Trying to create X:\raw_stacks\ 3355.680 DMCamera Debug : SetupFileSaving error is 12 3355.680 DMCamera Debug : Waiting for thread to end 0 3355.696 3355.696 DMCamera Debug : Started thread, going into wait loop DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0)3355.696 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3355.696 DMCamera Debug : Return value = 0 3355.992 DMCamera Debug : Returned from asynchronous start of acquire 3367.209 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3367.224 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3367.443 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 3367.583 DMCamera Debug : Partial sum completed by thread 3367.599 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3367.599 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 3367.926 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3367.942 DMCamera Debug : Return value = 0 3367.942 DMCamera Debug : SetK2Parameters called with save N flags 0 3367.942 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3367.942 DMCamera Debug : Trying to create X:\raw_stacks\ 3367.942 DMCamera Debug : SetupFileSaving error is 12 3367.958 DMCamera Debug : Waiting for ready for single-shot 0 3368.020 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3368.379 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3368.738 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3369.128 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3369.502 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3369.861 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3370.188 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3370.563 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3370.906 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3371.249 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3371.592 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3371.936 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3372.279 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3372.606 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3372.965 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3373.293 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3373.636 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3373.995 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3374.338 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3374.681 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3375.024 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3375.399 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3375.726 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3376.070 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3376.413 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3376.756 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3377.099 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3377.442 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 3377.801 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 3378.144 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 3378.472 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 3378.831 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 3379.174 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 3379.533 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 3379.876 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 3380.219 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3380.562 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3380.921 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 3381.530 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3381.576 DMCamera Debug : Starting to grab frames from rest of stack 3381.576 DMCamera Debug : Done with stack, processing grabbed frames 3381.608 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3381.826 DMCamera Debug : Processing 1.979 saving 8.773 getting frame 3.697 sec 3381.857 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3384.712 DMCamera Debug : Return value = 62 3384.712 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3384.712 DMCamera Debug : Converting unsigned integers to unsigned shorts 3384.743 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3384.743 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3384.868 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3384.868 DMCamera Debug : Return value = 0 3384.868 DMCamera Debug : SetK2Parameters called with save N flags 0 3384.884 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3384.884 DMCamera Debug : Trying to create X:\raw_stacks\ 3384.884 DMCamera Debug : SetupFileSaving error is 12 3384.884 DMCamera Debug : Waiting for ready for single-shot 0 3384.899 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3387.676 DMCamera Debug : Return value = 64 3387.676 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3387.692 DMCamera Debug : Converting unsigned integers to unsigned shorts 3387.707 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3387.707 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3405.663 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3405.663 DMCamera Debug : Return value = 0 3405.663 DMCamera Debug : SetK2Parameters called with save Y flags 0 3405.725 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 1 copy NO dir X:\raw_stacks\ root 20160825_16375001 3405.725 DMCamera Debug : Trying to create X:\raw_stacks\ 3405.725 DMCamera Debug : SetupFileSaving error is 12 3405.741 3405.741 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3405.741 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3405.741 DMCamera Debug : Return value = 0 3406.053 DMCamera Debug : Returned from asynchronous start of acquire 3417.347 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3417.347 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3417.535 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 3417.628 DMCamera Debug : Partial sum completed by thread 3417.659 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3417.659 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 3418.049 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3418.408 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3418.736 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3419.095 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3419.422 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3419.812 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3420.140 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3420.483 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3420.826 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3421.169 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3421.513 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3421.856 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3422.199 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3422.542 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3422.885 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3422.979 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3422.995 DMCamera Debug : Return value = 0 3422.995 DMCamera Debug : SetK2Parameters called with save N flags 0 3422.995 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3422.995 DMCamera Debug : Trying to create X:\raw_stacks\ 3422.995 DMCamera Debug : SetupFileSaving error is 12 3423.010 DMCamera Debug : Waiting for ready for single-shot 0 3423.244 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3423.587 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3423.931 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3424.274 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3424.601 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3424.945 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3425.335 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3425.662 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3426.006 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3426.349 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3426.692 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3427.020 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3427.363 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 3427.737 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 3428.065 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 3428.408 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 3428.767 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 3429.110 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 3429.469 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 3429.812 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 3430.155 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3430.498 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3430.857 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 3431.481 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3431.512 DMCamera Debug : Starting to grab frames from rest of stack 3431.512 DMCamera Debug : Done with stack, processing grabbed frames 3431.559 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3431.778 DMCamera Debug : Processing 1.904 saving 8.696 getting frame 3.691 sec 3431.793 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3434.679 DMCamera Debug : Return value = 68 3434.679 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3434.679 DMCamera Debug : Converting unsigned integers to unsigned shorts 3434.695 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3434.710 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3434.866 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3434.866 DMCamera Debug : Return value = 0 3434.882 DMCamera Debug : SetK2Parameters called with save N flags 0 3434.882 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3434.882 DMCamera Debug : Trying to create X:\raw_stacks\ 3434.882 DMCamera Debug : SetupFileSaving error is 12 3434.898 DMCamera Debug : Waiting for ready for single-shot 0 3434.913 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3437.706 DMCamera Debug : Return value = 70 3437.706 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3437.721 DMCamera Debug : Converting unsigned integers to unsigned shorts 3437.737 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3437.752 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3455.677 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3455.677 DMCamera Debug : Return value = 0 3455.677 DMCamera Debug : SetK2Parameters called with save Y flags 0 3455.739 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 1 copy NO dir X:\raw_stacks\ root 20160825_16384002 3455.739 DMCamera Debug : Trying to create X:\raw_stacks\ 3455.739 DMCamera Debug : SetupFileSaving error is 12 3455.755 3455.755 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3455.755 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3455.755 DMCamera Debug : Return value = 0 3456.067 DMCamera Debug : Returned from asynchronous start of acquire 3467.439 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3467.439 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3467.642 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 3467.736 DMCamera Debug : Partial sum completed by thread 3467.751 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3467.751 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 3468.126 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3468.126 DMCamera Debug : Return value = 0 3468.141 DMCamera Debug : SetK2Parameters called with save N flags 0 3468.141 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3468.141 DMCamera Debug : Trying to create X:\raw_stacks\ 3468.141 DMCamera Debug : SetupFileSaving error is 12 3468.157 DMCamera Debug : Waiting for ready for single-shot 0 3468.173 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3468.563 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3468.921 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3469.327 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3469.686 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3470.029 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3470.403 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3470.825 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3471.183 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3471.605 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3471.979 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3472.338 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3472.681 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3473.040 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3473.445 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3473.789 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3474.147 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3474.506 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3474.881 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3475.271 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3475.629 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3475.988 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3476.409 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3476.768 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3477.111 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3477.501 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3477.876 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3478.235 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 3478.609 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 3479.015 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 3479.358 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 3479.873 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 3480.309 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 3480.762 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 3481.152 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 3481.542 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3482.010 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3482.556 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 3483.180 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 3483.227 DMCamera Debug : Starting to grab frames from rest of stack 3483.227 DMCamera Debug : Done with stack, processing grabbed frames 3483.258 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3483.570 DMCamera Debug : Processing 1.887 saving 10.343 getting frame 3.744 sec 3483.601 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 3486.393 DMCamera Debug : Return value = 74 3486.409 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3486.409 DMCamera Debug : Converting unsigned integers to unsigned shorts 3486.425 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3486.440 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3486.534 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3486.534 DMCamera Debug : Return value = 0 3486.534 DMCamera Debug : SetK2Parameters called with save N flags 0 3486.534 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3486.549 DMCamera Debug : Trying to create X:\raw_stacks\ 3486.549 DMCamera Debug : SetupFileSaving error is 12 3486.549 DMCamera Debug : Waiting for ready for single-shot 0 3486.565 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 3489.358 DMCamera Debug : Return value = 76 3489.358 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 3489.358 DMCamera Debug : Converting unsigned integers to unsigned shorts 3489.389 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 3489.389 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 3577.451 DMCamera Debug : SerialEMSocket: Closing socket 2144 3577.919 DMCamera Debug : SerialEMSocket: Accepted connection 3577.935 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3577.935 DMCamera Debug : Return value = -1 3577.935 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3577.935 DMCamera Debug : Return value = -1 3577.950 DMCamera executing script : if ( DoesFunctionExist("AFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3577.950 DMCamera Debug : Return value = -1 3577.950 DMCamera executing script : if ( DoesFunctionExist("AFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3577.950 DMCamera Debug : Return value = -1 3577.966 DMCamera executing script : if ( DoesFunctionExist("AFDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3577.966 DMCamera Debug : Return value = -1 3577.966 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3577.966 DMCamera Debug : Return value = -1 3577.966 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitState") ) { Exit(1.0); } else { Exit(-1.0); } 3577.982 DMCamera Debug : Return value = -1 3577.982 DMCamera executing script : if ( DoesFunctionExist("IFCGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3577.982 DMCamera Debug : Return value = -1 3577.982 DMCamera executing script : if ( DoesFunctionExist("IFCSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3577.997 DMCamera Debug : Return value = -1 3577.997 DMCamera executing script : if ( DoesFunctionExist("IFCDoAlignZeroLoss") ) { Exit(1.0); } else { Exit(-1.0); } 3577.997 DMCamera Debug : Return value = -1 3577.997 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3578.013 DMCamera Debug : Return value = -1 3578.013 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitIn") ) { Exit(1.0); } else { Exit(-1.0); } 3578.013 DMCamera Debug : Return value = -1 3578.013 DMCamera executing script : if ( DoesFunctionExist("IFGetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3578.028 DMCamera Debug : Return value = -1 3578.028 DMCamera executing script : if ( DoesFunctionExist("IFSetSlitWidth") ) { Exit(1.0); } else { Exit(-1.0); } 3578.028 DMCamera Debug : Return value = -1 3578.028 DMCamera executing script : if ( DoesFunctionExist("GT_CenterZLP") ) { Exit(1.0); } else { Exit(-1.0); } 3578.028 DMCamera Debug : Return value = -1 3578.044 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3578.060 DMCamera Debug : Return value = 0 3578.060 DMCamera Debug : SetK2Parameters called with save Y flags 0 3578.075 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 0 copy NO dir X:\raw_stacks\ root 20160825_16404300 3578.075 DMCamera Debug : Trying to create X:\raw_stacks\ 3578.075 DMCamera Debug : SetupFileSaving error is 12 3578.075 3578.075 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 3578.091 DMCamera Debug : Waiting for exposure and frame sum to complete 0 3578.091 DMCamera Debug : Return value = 0 3578.387 DMCamera Debug : Returned from asynchronous start of acquire 3589.604 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 3589.604 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 3589.729 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 3589.822 DMCamera Debug : Partial sum completed by thread 3589.838 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 3589.838 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 3590.181 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 3590.321 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 3590.321 DMCamera Debug : Return value = 0 3590.321 DMCamera Debug : SetK2Parameters called with save N flags 0 3590.321 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 3590.337 DMCamera Debug : Trying to create X:\raw_stacks\ 3590.337 DMCamera Debug : SetupFileSaving error is 12 3590.337 DMCamera Debug : Waiting for ready for single-shot 0 3590.524 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 3591.023 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 3591.335 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 3591.679 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 3592.006 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 3592.334 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 3592.646 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 3592.973 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 3593.379 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 3593.722 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 3594.065 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 3594.409 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 3594.736 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 3595.111 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 3595.469 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 3595.891 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 3596.249 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 3596.608 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 3596.983 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 3597.373 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 3597.716 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 3598.059 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 3598.433 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 3598.777 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 3599.120 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 3599.447 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 3599.806 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 0.165 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 0.524 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 0.992 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 1.335 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 1.709 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 2.053 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 2.458 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 2.833 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 3.394 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 3.737 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 4.564 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 4.845 DMCamera Debug : Processing 1.715 saving 9.906 getting frame 3.518 sec 4.861 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 4.892 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 7.871 DMCamera Debug : Return value = 80 7.871 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 7.871 DMCamera Debug : Converting unsigned integers to unsigned shorts 7.903 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 7.903 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 8.059 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 8.059 DMCamera Debug : Return value = 0 8.074 DMCamera Debug : SetK2Parameters called with save N flags 0 8.074 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 8.074 DMCamera Debug : Trying to create X:\raw_stacks\ 8.074 DMCamera Debug : SetupFileSaving error is 12 8.090 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 10.742 DMCamera Debug : Return value = 82 10.742 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 10.742 DMCamera Debug : Converting unsigned integers to unsigned shorts 10.773 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 10.773 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 28.058 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 28.058 DMCamera Debug : Return value = 0 28.058 DMCamera Debug : SetK2Parameters called with save Y flags 0 28.074 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 0 copy NO dir X:\raw_stacks\ root 20160825_16413301 28.074 DMCamera Debug : Trying to create X:\raw_stacks\ 28.074 DMCamera Debug : SetupFileSaving error is 12 28.089 28.089 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 28.089 DMCamera Debug : Waiting for exposure and frame sum to complete 0 28.089 DMCamera Debug : Return value = 0 28.401 DMCamera Debug : Returned from asynchronous start of acquire 39.399 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 39.399 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 39.508 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 39.602 DMCamera Debug : Partial sum completed by thread 39.633 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 39.633 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 39.992 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 40.335 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 40.647 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 40.944 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 41.287 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 41.614 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 41.911 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 42.238 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 42.566 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 42.894 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 43.206 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 43.518 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 43.845 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 44.173 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 44.516 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 44.828 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 45.078 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 45.078 DMCamera Debug : Return value = 0 45.078 DMCamera Debug : SetK2Parameters called with save N flags 0 45.078 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 45.093 DMCamera Debug : Trying to create X:\raw_stacks\ 45.093 DMCamera Debug : SetupFileSaving error is 12 45.093 DMCamera Debug : Waiting for ready for single-shot 0 45.156 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 45.499 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 45.811 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 46.123 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 46.451 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 46.778 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 47.121 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 47.418 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 47.730 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 48.057 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 48.369 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 48.791 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 49.103 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 49.430 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 49.805 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 50.179 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 50.507 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 50.834 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 51.162 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 51.505 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 51.833 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 52.160 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 52.769 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 53.034 DMCamera Debug : Processing 1.759 saving 8.273 getting frame 3.517 sec 53.049 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 53.096 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 56.029 DMCamera Debug : Return value = 86 56.029 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 56.029 DMCamera Debug : Converting unsigned integers to unsigned shorts 56.045 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 56.060 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 56.201 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 56.201 DMCamera Debug : Return value = 0 56.216 DMCamera Debug : SetK2Parameters called with save N flags 0 56.216 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 56.216 DMCamera Debug : Trying to create X:\raw_stacks\ 56.216 DMCamera Debug : SetupFileSaving error is 12 56.232 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 58.837 DMCamera Debug : Return value = 88 58.837 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 58.837 DMCamera Debug : Converting unsigned integers to unsigned shorts 58.868 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 58.868 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 78.072 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 78.072 DMCamera Debug : Return value = 0 78.072 DMCamera Debug : SetK2Parameters called with save Y flags 0 78.088 DMCamera Debug : SetupFileSaving called with flags 80 rf 0 frf 0 MRC fpi N pix 1.000000 ER Y A2R N sum 1 grab 0 copy NO dir X:\raw_stacks\ root 20160825_16422302 78.088 DMCamera Debug : Trying to create X:\raw_stacks\ 78.088 DMCamera Debug : SetupFileSaving error is 12 78.103 78.103 DMCamera Debug : DMCamera executing script : Started thread, going into wait loop Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Exit(0) 78.103 DMCamera Debug : Waiting for exposure and frame sum to complete 0 78.103 DMCamera Debug : Return value = 0 78.415 DMCamera Debug : Returned from asynchronous start of acquire 89.382 DMCamera Debug : Got frame 1 of 40 exp done 1 elapsed F 0.00 89.382 DMCamera Debug : loop 0 stack 1 width 7420 height 7676 bs 1 int 1 uint 1 89.491 DMCamera Debug : Converting signed integers to unsigned shorts with truncation 89.569 DMCamera Debug : Partial sum completed by thread 89.600 DMCamera Debug : Back from thread, retval 0 errfs 0 #saved 0 w 7420 h 7676 89.600 DMCamera Debug : retval = 0, err sending args 0, sending image 113911840 in 4 chunks 89.959 DMCamera Debug : Got frame 2 of 40 exp done 1 elapsed F 0.00 90.287 DMCamera Debug : Got frame 3 of 40 exp done 1 elapsed F 0.00 90.630 DMCamera Debug : Got frame 4 of 40 exp done 1 elapsed F 0.00 90.926 DMCamera Debug : Got frame 5 of 40 exp done 1 elapsed F 0.00 91.238 DMCamera Debug : Got frame 6 of 40 exp done 1 elapsed F 0.00 91.550 DMCamera Debug : Got frame 7 of 40 exp done 1 elapsed F 0.00 91.847 DMCamera Debug : Got frame 8 of 40 exp done 1 elapsed F 0.00 92.174 DMCamera Debug : Got frame 9 of 40 exp done 1 elapsed F 0.00 92.486 DMCamera Debug : Got frame 10 of 40 exp done 1 elapsed F 0.00 92.798 DMCamera Debug : Got frame 11 of 40 exp done 1 elapsed F 0.00 93.110 DMCamera Debug : Got frame 12 of 40 exp done 1 elapsed F 0.00 93.407 DMCamera Debug : Got frame 13 of 40 exp done 1 elapsed F 0.00 93.719 DMCamera Debug : Got frame 14 of 40 exp done 1 elapsed F 0.00 94.031 DMCamera Debug : Got frame 15 of 40 exp done 1 elapsed F 0.00 94.343 DMCamera Debug : Got frame 16 of 40 exp done 1 elapsed F 0.00 94.639 DMCamera Debug : Got frame 17 of 40 exp done 1 elapsed F 0.00 94.951 DMCamera Debug : Got frame 18 of 40 exp done 1 elapsed F 0.00 95.092 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 95.092 DMCamera Debug : Return value = 0 95.092 DMCamera Debug : SetK2Parameters called with save N flags 0 95.092 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 95.107 DMCamera Debug : Trying to create X:\raw_stacks\ 95.107 DMCamera Debug : SetupFileSaving error is 12 95.107 DMCamera Debug : Waiting for ready for single-shot 0 95.279 DMCamera Debug : Got frame 19 of 40 exp done 1 elapsed F 0.00 95.591 DMCamera Debug : Got frame 20 of 40 exp done 1 elapsed F 0.00 95.903 DMCamera Debug : Got frame 21 of 40 exp done 1 elapsed F 0.00 96.215 DMCamera Debug : Got frame 22 of 40 exp done 1 elapsed F 0.00 96.527 DMCamera Debug : Got frame 23 of 40 exp done 1 elapsed F 0.00 96.839 DMCamera Debug : Got frame 24 of 40 exp done 1 elapsed F 0.00 97.151 DMCamera Debug : Got frame 25 of 40 exp done 1 elapsed F 0.00 97.463 DMCamera Debug : Got frame 26 of 40 exp done 1 elapsed F 0.00 97.775 DMCamera Debug : Got frame 27 of 40 exp done 1 elapsed F 0.00 98.087 DMCamera Debug : Got frame 28 of 40 exp done 1 elapsed F 0.00 98.414 DMCamera Debug : Got frame 29 of 40 exp done 1 elapsed F 0.00 98.742 DMCamera Debug : Got frame 30 of 40 exp done 1 elapsed F 0.00 99.054 DMCamera Debug : Got frame 31 of 40 exp done 1 elapsed F 0.00 99.366 DMCamera Debug : Got frame 32 of 40 exp done 1 elapsed F 0.00 99.662 DMCamera Debug : Got frame 33 of 40 exp done 1 elapsed F 0.00 99.974 DMCamera Debug : Got frame 34 of 40 exp done 1 elapsed F 0.00 100.286 DMCamera Debug : Got frame 35 of 40 exp done 1 elapsed F 0.00 100.583 DMCamera Debug : Got frame 36 of 40 exp done 1 elapsed F 0.00 100.910 DMCamera Debug : Got frame 37 of 40 exp done 1 elapsed F 0.00 101.222 DMCamera Debug : Got frame 38 of 40 exp done 1 elapsed F 0.00 101.550 DMCamera Debug : Got frame 39 of 40 exp done 1 elapsed F 0.00 102.143 DMCamera Debug : Got frame 40 of 40 exp done 1 elapsed F 0.00 102.392 DMCamera Debug : Processing 1.740 saving 7.685 getting frame 3.504 sec 102.424 DMCamera Debug : Leaving thread with return value 0 arrSize 56955920 102.455 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 105.419 DMCamera Debug : Return value = 92 105.419 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 105.419 DMCamera Debug : Converting unsigned integers to unsigned shorts 105.450 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 105.450 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks 105.590 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 105.590 DMCamera Debug : Return value = 0 105.606 DMCamera Debug : SetK2Parameters called with save N flags 0 105.606 DMCamera Debug : SetupFileSaving called with flags 0 rf 0 frf 0 MRC fpi N pix 1.000000 ER N A2R N sum 65535 grab 0 copy NO dir X:\raw_stacks\ root dummy 105.606 DMCamera Debug : Trying to create X:\raw_stacks\ 105.606 DMCamera Debug : SetupFileSaving error is 12 105.622 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) Object acqParams = CM_CreateAcquisitionParameters_FullCCD(camera, 1, 1, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 4145, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetHardwareCorrections(acqParams, 768) CM_SetDoAcquireStack(acqParams, 0) CM_SetReadMode(acqParams, 2) Number wait_time_s CM_PrepareCameraForAcquire(manager, camera, acqParams, NULL, wait_time_s) Sleep(wait_time_s) Image img := CM_AcquireImage(camera, acqParams) KeepImage(img) number retval = GetImageID(img) Exit(retval) 108.227 DMCamera Debug : Return value = 94 108.227 DMCamera Debug : loop 0 stack 0 width 3710 height 3838 bs 4 int 1 uint 1 108.227 DMCamera Debug : Converting unsigned integers to unsigned shorts 108.243 DMCamera Debug : Leaving thread with return value 0 arrSize 14238980 108.258 DMCamera Debug : retval = 0, err sending args 0, sending image 28477960 in 1 chunks