Microscope Control Initialization Succeeded. 1428.694 DMCamera Debug : SerialEMCCD: COM was initialized through DllMain 1428.694 DMCamera executing script : number version GetApplicationInfo(2, version) Exit(version) 1428.694 DMCamera Debug : Return value = 5.10525e+007 1428.694 DMCamera Debug : retval = 5.10525e+007, code = 30b0000, version = 31100 1428.694 DMCamera Debug : Going to start socket 1428.710 DMCamera Debug : SerialEMCCD: COM was initialized through DllMain 1428.710 DMCamera executing script : number version GetApplicationInfo(2, version) Exit(version) 1428.710 DMCamera Debug : Return value = 5.10525e+007 1428.710 DMCamera Debug : retval = 5.10525e+007, code = 30b0000, version = 31100 1428.710 DMCamera Debug : Going to start socket 1428.726 DMCamera Debug : SerialEMCCD: COM was initialized through DllMain 1428.726 DMCamera executing script : number version GetApplicationInfo(2, version) Exit(version) 1428.726 DMCamera Debug : Return value = 5.10525e+007 1428.726 DMCamera Debug : retval = 5.10525e+007, code = 30b0000, version = 31100 1428.726 DMCamera Debug : Going to start socket 1428.710 DMCamera Debug : Socket startup OK, going to start select loop Welcome to DigitalMicrograph. 1/9/2014, 10:28:34 AM 1540.469 DMCamera Debug : Select returned with Ready channel: listener 1 client 0 1540.469 DMCamera Debug : SerialEMSocket: Accepted connection 1577.956 DMCamera Debug : Select returned with Ready channel: listener 0 client 1 1577.972 DMCamera Debug : SerialEMSocket: got 12 bytes via recv on socket 260 1577.972 DMCamera executing script : Object manager = CM_GetCameraManager() Object cameraList = CM_GetCameras(manager) Object camera = ObjectAt(cameraList, 0) CM_SelectCamera(manager, camera) 1577.987 DMCamera Debug : Return value = 0 1577.987 DMCamera Debug : In SendBuffer, socket 260, sending 8 bytes 1578.003 DMCamera Debug : Select returned with Ready channel: listener 0 client 1 1578.019 DMCamera Debug : SerialEMSocket: got 56 bytes via recv on socket 260 1578.034 DMCamera Debug : SetK2Parameters called with save 0 1578.050 DMCamera Debug : In SendBuffer, socket 260, sending 8 bytes 1578.065 DMCamera Debug : Select returned with Ready channel: listener 0 client 1 1578.065 DMCamera Debug : SerialEMSocket: got 48 bytes via recv on socket 260 1578.081 DMCamera Debug : SetupFileSaving error is 13 1578.081 DMCamera Debug : In SendBuffer, socket 260, sending 12 bytes 1578.097 DMCamera Debug : Select returned with Ready channel: listener 0 client 1 1578.112 DMCamera Debug : SerialEMSocket: got 76 bytes via recv on socket 260 1578.112 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, 0.2, 1, 1) CM_SetBinnedReadArea(camera, acqParams, 0, 0, 3838, 3710) CM_SetCorrections(acqParams, 49, 0) CM_SetSettling(acqParams, 0) CM_SetShutterIndex(acqParams, 0) CM_SetReadMode(acqParams, 2) K2_SetHardwareProcessing(camera, 6) 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) 1579.844 DMCamera Debug : Return value = 18 1579.859 DMCamera Debug : Converting unsigned integers to unsigned shorts 1579.875 DMCamera Debug : In SendBuffer, socket 260, sending 24 bytes 1579.891 DMCamera Debug : retval = 0, err sending args 0, sending image 27528200 in 1 chunks 1579.891 DMCamera Debug : In SendBuffer, socket 260, sending 27528200 bytes