Andrew
unread,Sep 24, 2015, 3:54:38 PM9/24/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
I am having trouble with a QHY5-II camera dropping out with the error message: "Camera timeout during capture. The camera has been disconnected. Please resolve the problem and re-connect the camera."
This camera has worked tolerably well for over a year with my setup until about a week ago, when it started playing up. This has become an intolerably frequent intermittent problem. All help/suggestions much appreciated.
Actions I have taken to try resolve the problem are:
Tested with four different USB cables.
Tested with a new powered USB 2.0 hub.
Updated drivers
Updated from PHD to latest PHD 2. Problem remains same in both versions.
Tested by direct connection to both of two available USB sockets
Tested camera in EZPlanetary - it works fine.
My set up is as follows:
MacBook Pro running PHD/PHD2 in Windows7 running as a virtual machine in Parallels10.
Both USB sockets are USB3.
The driver currently selected by the camera is: QHY5II_IO.sys
Debug Log with camera connected to Macbook directly with one short USB cable. Camera tested on the bench inside the house. No mount attached. This is an example where the "camera disconnected" error message occured pretty quickly after connecting camera.
20:18:41.935 00.000 3668 PHD2 version 2.5.0 begins execution with:
20:18:41.935 00.000 3668 wxWidgets 3.0.2
20:18:41.935 00.000 3668 cfitsio 3.34
20:18:41.935 00.000 3668 opencv 2.4.5
20:18:41.935 00.000 3668 CoInitializeEx returns 1
20:18:41.935 00.000 3668 Using Locale Dir C:\Program Files (x86)\PHDGuiding2\locale exists=1
20:18:41.935 00.000 3668 GetInt("/wxLanguage", 0) returns 0
20:18:41.951 00.016 3668 GetInt("/currentProfile", 0) returns 2
20:18:41.951 00.000 3668 StartWorkerThread(0x00000000) begins
20:18:41.951 00.000 3668 WorkerThread constructor called
20:18:41.951 00.000 3668 StartWorkerThread(0x0031B530) ends
20:18:41.951 00.000 3668 StartWorkerThread(0x00000000) begins
20:18:41.951 00.000 2996 WorkerThread::Entry() begins
20:18:41.951 00.000 3668 WorkerThread constructor called
20:18:41.951 00.000 2996 worker thread CoInitializeEx returns 0
20:18:41.951 00.000 3668 StartWorkerThread(0x003240C0) ends
20:18:41.951 00.000 3668 GetBoolean("/ServerMode", 1) returns 1
20:18:41.951 00.000 1060 WorkerThread::Entry() begins
20:18:41.951 00.000 1060 worker thread CoInitializeEx returns 0
20:18:41.951 00.000 3668 GetBoolean("/LoggingMode", 0) returns 1
20:18:41.951 00.000 3668 GetString("/frame/LogDir", "") returns ""
20:18:41.951 00.000 3668 GetInt("/LoggedImageFormat", 0) returns 0
20:18:41.982 00.031 3668 Status Line 2:
20:18:41.982 00.000 3668 Status Line 3:
20:18:41.982 00.000 3668 Status Line 4:
20:18:41.982 00.000 3668 Status Line 5: No cal
20:18:41.982 00.000 3668 GetInt("/profile/2/NoiseReductionMethod", 0) returns 0
20:18:41.982 00.000 3668 GetDouble("/profile/2/DitherScaleFactor", 1.000000) returns 1.000000
20:18:41.982 00.000 3668 GetBoolean("/profile/2/DitherRaOnly", 0) returns 0
20:18:41.982 00.000 3668 GetInt("/profile/2/frame/timeLapse", 0) returns 0
20:18:41.982 00.000 3668 GetBoolean("/profile/2/AutoLoadCalibration", 0) returns 0
20:18:41.982 00.000 3668 GetInt("/profile/2/frame/focalLength", 0) returns 190
20:18:41.982 00.000 3668 GetInt("/profile/2/auto_exp/exposure_min", 1000) returns 1000
20:18:41.982 00.000 3668 GetInt("/profile/2/auto_exp/exposure_max", 5000) returns 5000
20:18:41.982 00.000 3668 GetDouble("/profile/2/auto_exp/target_snr", 6.000000) returns 6.000000
20:18:41.982 00.000 3668 AutoExp: config min = 1000 max = 5000 snr = 6.00
20:18:41.982 00.000 3668 AutoExp: reset exp to 5000
20:18:41.982 00.000 3668 GetString("/profile/2/ExposureDuration", "1.0 s") returns "1.0 s"
20:18:41.982 00.000 3668 OnExposureDurationSelected: duration = 1000
20:18:41.982 00.000 3668 GetInt("/profile/2/Gamma", 100) returns 265
20:18:41.998 00.016 3668 GetInt("/profile/2/overlay/slit/center.x", 376) returns 376
20:18:41.998 00.000 3668 GetInt("/profile/2/overlay/slit/center.y", 290) returns 290
20:18:41.998 00.000 3668 GetInt("/profile/2/overlay/slit/width", 8) returns 8
20:18:41.998 00.000 3668 GetInt("/profile/2/overlay/slit/height", 100) returns 100
20:18:41.998 00.000 3668 GetInt("/profile/2/overlay/slit/angle", 0) returns 0
20:18:41.998 00.000 3668 Changing from state 0 to 0
20:18:41.998 00.000 3668 GetBoolean("/profile/2/guider/FastRecenter", 1) returns 1
20:18:41.998 00.000 3668 GetBoolean("/profile/2/guider/ScaleImage", 0) returns 0
20:18:41.998 00.000 3668 GetDouble("/profile/2/guider/onestar/MassChangeThreshold", 0.500000) returns 0.500000
20:18:41.998 00.000 3668 GetBoolean("/profile/2/guider/onestar/MassChangeThresholdEnabled", 1) returns 1
20:18:41.998 00.000 3668 GetInt("/profile/2/guider/onestar/SearchRegion", 15) returns 15
20:18:41.998 00.000 3668 GetBoolean("/StickyLockPosition", 0) returns 0
20:18:41.998 00.000 3668 GetString("/geometry", "") returns "1;1296;776;-8;-8"
20:18:41.998 00.000 3668 GetInt("/graph/ScopeOrCameraUnits", 0) returns 0
20:18:41.998 00.000 3668 GetString("/graph/RAColor", "") returns "#6464FF"
20:18:41.998 00.000 3668 GetString("/graph/DecColor", "") returns "#FF0000"
20:18:41.998 00.000 3668 GetInt("/graph/minLength", 50) returns 50
20:18:41.998 00.000 3668 GetInt("/graph/maxLength", 400) returns 400
20:18:41.998 00.000 3668 GetInt("/graph/minHeight", 1) returns 1
20:18:41.998 00.000 3668 GetInt("/graph/maxHeight", 16) returns 16
20:18:41.998 00.000 3668 GetInt("/graph/length", 100) returns 100
20:18:41.998 00.000 3668 GetInt("/graph/height", 4) returns 4
20:18:41.998 00.000 3668 GetInt("graph/HeightUnits", 1) returns 1
20:18:41.998 00.000 3668 GetBoolean("/graph/showCorrections", 1) returns 1
20:18:41.998 00.000 3668 GetBoolean("/graph/showStarMass", 0) returns 0
20:18:41.998 00.000 3668 GetBoolean("/graph/showStarSNR", 0) returns 0
20:18:42.029 00.031 3668 GetInt("/graph_stepguider/length", 1) returns 1
20:18:42.029 00.000 3668 GetInt("/target/length", 100) returns 100
20:18:42.029 00.000 3668 GetDouble("/target/zoom", 1.000000) returns 1.000000
20:18:42.044 00.015 3668 GetBoolean("/profile/2/target/refCircleEnabled", 0) returns 0
20:18:42.044 00.000 3668 GetDouble("/profile/2/target/refCircleRadius", 2.000000) returns 2.000000
20:18:42.169 00.125 3668 GetString("/profile/2/name", "") returns "Profile1"
20:18:42.169 00.000 3668 GetString("/profile/2/name", "") returns "Profile1"
20:18:42.356 00.187 3668 GetString("/profile/2/camera/LastMenuchoice", "None") returns "QHY 5-II"
20:18:42.356 00.000 3668 CameraFactory(QHY 5-II)
20:18:42.356 00.000 3668 GetBoolean("/profile/2/camera/UseSubframes", 0) returns 0
20:18:42.356 00.000 3668 GetInt("/profile/2/camera/ReadDelay", 150) returns 150
20:18:42.356 00.000 3668 GetInt("/profile/2/camera/gain", 95) returns 95
20:18:42.356 00.000 3668 GetInt("/profile/2/camera/TimeoutMs", 5000) returns 10000
20:18:42.356 00.000 3668 GetDouble("/profile/2/camera/pixelsize", 0.000000) returns 5.200000
20:18:42.356 00.000 3668 Created new camera of type QHY 5-II = 003B64E0
20:18:42.356 00.000 3668 GetString("/profile/2/scope/LastMenuChoice", "None") returns "On-camera"
20:18:42.356 00.000 3668 ScopeFactory(On-camera)
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/CalibrationDuration", 750) returns 800
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/MaxRaDuration", 2500) returns 2000
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/MaxDecDuration", 2500) returns 2000
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/DecGuideMode", 1) returns 1
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/XGuideAlgorithm", 1) returns 1
20:18:42.356 00.000 3668 GetDouble("/profile/2/scope/GuideAlgorithm/X/Hysteresis/minMove", 0.200000) returns 0.180000
20:18:42.356 00.000 3668 GetDouble("/profile/2/scope/GuideAlgorithm/X/Hysteresis/hysteresis", 0.100000) returns 0.100000
20:18:42.356 00.000 3668 GetDouble("/profile/2/scope/GuideAlgorithm/X/Hysteresis/aggression", 0.700000) returns 0.700000
20:18:42.356 00.000 3668 GetInt("/profile/2/scope/YGuideAlgorithm", 4) returns 4
20:18:42.356 00.000 3668 GetDouble("/profile/2/scope/GuideAlgorithm/Y/ResistSwitch/minMove", 0.200000) returns 0.180000
20:18:42.356 00.000 3668 GuideAlgorithmResistSwitch::SetMinMove() returns 0, m_minMove=0.18
20:18:42.356 00.000 3668 GetDouble("/profile/2/scope/GuideAlgorithm/Y/ResistSwitch/aggression", 1.000000) returns 1.000000
20:18:42.356 00.000 3668 GuideAlgorithmResistSwitch::SetAggression() returns 0, m_aggression=1.00
20:18:42.356 00.000 3668 GetBoolean("/profile/2/scope/GuideAlgorithm/Y/ResistSwitch/fastSwitch", 1) returns 1
20:18:42.356 00.000 3668 GuideAlgorithmResistSwitch::SetFastSwitchEnabled(1)
20:18:42.356 00.000 3668 GetBoolean("/profile/2/scope/CalFlipRequiresDecFlip", 0) returns 0
20:18:42.356 00.000 3668 GetBoolean("/profile/2/scope/AssumeOrthogonal", 0) returns 0
20:18:42.356 00.000 3668 GetBoolean("/profile/2/scope/StopGuidingWhenSlewing", 0) returns 0
20:18:42.356 00.000 3668 Scope: slew check disabled
20:18:42.356 00.000 3668 Created new scope of type On-camera = 03B87ED8
20:18:42.356 00.000 3668 GetString("/profile/2/scope/LastAuxMenuChoice", "None") returns "None"
20:18:42.356 00.000 3668 ScopeFactory(None)
20:18:42.356 00.000 3668 Created new aux scope of type None = 00000000
20:18:42.356 00.000 3668 Throw from gear_dialog.cpp:1034->OnAuxChoiceScope: m_pAuxScope == NULL
20:18:42.356 00.000 3668 GetString("/profile/2/stepguider/LastMenuChoice", "None") returns "None"
20:18:42.356 00.000 3668 StepGuiderFactory(None)
20:18:42.356 00.000 3668 Created new stepguider of type None = 00000000
20:18:42.356 00.000 3668 Throw from gear_dialog.cpp:1232->OnChoiceStepGuider: m_pStepGuider == NULL
20:18:42.356 00.000 3668 GetString("/profile/2/rotator/LastMenuChoice", "None") returns "None"
20:18:42.356 00.000 3668 RotatorFactory(None)
20:18:42.356 00.000 3668 Created new Rotator of type None = 00000000
20:18:42.356 00.000 3668 Throw from gear_dialog.cpp:1346->OnChoiceRotator: m_pRotator == NULL
20:18:42.434 00.078 3668 GetString("/profile/2/name", "") returns "Profile1"
20:18:42.466 00.032 3668 event server started, listening on port 4400
20:18:42.466 00.000 3668 Status Line 0: Server started
20:18:42.466 00.000 3668 Server started, listening on port 4300
20:18:42.466 00.000 3668 Status Line 0: Server started
20:18:42.466 00.000 3668 GetString("/perspective", "") returns "layout2|name=MainToolBar;caption=Main tool bar;state=2106108;dir=3;layer=10;row=0;pos=0;prop=100000;bestw=556;besth=42;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Guider;caption=Guider;state=768;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=640;besth=512;minw=640;minh=512;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=GraphLog;caption=History;state=2099198;dir=3;layer=0;row=0;pos=0;prop=156739;bestw=534;besth=233;minw=-1;minh=240;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Stats;caption=Guide Stats;state=2099198;dir=3;layer=0;row=0;pos=0;prop=43261;bestw=226;besth=319;minw=-1;minh=240;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=AOPosition;caption=AO Position;state=2099198;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=293;besth=207;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=Profile;caption=Star Profile;state=2099198;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=20;besth=20;minw=115;minh=85;maxw=-1;maxh=-1;floatx=964;floaty=109;floatw=400;floath=506|name=Target;caption=Target;state=2099198;dir=2;layer=0;row=0;pos=0;prop=100000;bestw=320;besth=207;minw=293;minh=208;maxw=-1;maxh=-1;floatx=943;floaty=124;floatw=400;floath=506|dock_size(3,10,0)=44|dock_size(5,0,0)=642|"
20:18:42.481 00.015 3668 GetString("/profile/2/camera/LastMenuchoice", "None") returns "QHY 5-II"
20:18:42.481 00.000 3668 GetString("/profile/2/scope/LastMenuChoice", "None") returns "On-camera"
20:18:47.676 05.195 3668 GetString("/profile/2/camera/LastMenuchoice", "None") returns "QHY 5-II"
20:18:47.676 00.000 3668 GetString("/profile/2/scope/LastMenuChoice", "None") returns "On-camera"
20:18:50.671 02.995 3668 Status Line 0: Connecting to Camera ...
20:18:50.687 00.016 3668 Connected Camera:QHY 5-II
20:18:50.687 00.000 3668 FullSize=(1280,1024)
20:18:50.687 00.000 3668 HasGainControl=1
20:18:50.687 00.000 3668 GuideCameraGain=95
20:18:50.687 00.000 3668 HasShutter=0
20:18:50.687 00.000 3668 HasSubFrames=0
20:18:50.687 00.000 3668 ST4HasGuideOutput=1
20:18:50.687 00.000 3668 GetBoolean("/profile/2/camera/AutoLoadDefectMap", 1) returns 1
20:18:50.687 00.000 3668 auto-loading defect map
20:18:50.687 00.000 3668 Loading defect map file C:\Users\andrewlangley\AppData\Local\phd2\darks_defects\PHD2_defect_map_2.txt
20:18:50.687 00.000 3668 Defect map file not found: C:\Users\andrewlangley\AppData\Local\phd2\darks_defects\PHD2_defect_map_2.txt
20:18:50.687 00.000 3668 Status Line 0: Defect map not loaded
20:18:50.687 00.000 3668 GetBoolean("/profile/2/camera/AutoLoadDarks", 1) returns 0
20:18:50.687 00.000 3668 Status Line 0: Camera Connected
20:18:50.687 00.000 3668 Status Line 2: Camera
20:18:50.687 00.000 3668 Status Line 4:
20:18:50.687 00.000 3668 Connected AO:None
20:18:50.702 00.015 3668 Status Line 0: Connecting to Mount ...
20:18:50.702 00.000 3668 Status Line 5: No cal
20:18:50.702 00.000 3668 Status Line 0: Mount Connected
20:18:50.702 00.000 3668 Status Line 3: Mount
20:18:50.702 00.000 3668 Connected Scope:On Camera
20:18:50.702 00.000 3668 Connected AuxScope:None
20:18:50.702 00.000 3668 Status Line 4:
20:18:50.702 00.000 3668 Connected Rotator:None
20:18:50.718 00.016 3668 GetBoolean("/profile/2/target/refCircleEnabled", 0) returns 0
20:18:50.718 00.000 3668 GetDouble("/profile/2/target/refCircleRadius", 2.000000) returns 2.000000
20:18:54.150 03.432 3668 StartCapturing CaptureActive=0 continueCapturing=0 exposurePending=0
20:18:54.150 00.000 3668 Status Line 0:
20:18:54.150 00.000 3668 ScheduleExposure(1000,3,0) exposurePending=0
20:18:54.150 00.000 3668 Enqueuing Expose request
20:18:54.150 00.000 2996 Worker thread wakes up
20:18:54.150 00.000 2996 worker thread servicing REQUEST_EXPOSE 1000
20:18:54.150 00.000 2996 Handling exposure in thread, d=1000 o=3 r=(0,0,0,0)
20:19:05.351 11.201 2996 Error thrown from worker_thread.cpp:152->Capture failed
20:19:05.351 00.000 3668 Alert: Camera timeout during capture
The camera has been disconnected. Please resolve the problem and re-connect the camera.
20:19:05.351 00.000 2996 worker thread done servicing request
20:19:05.569 00.218 3668 Processing an image
20:19:05.569 00.000 3668 StopCapturing CaptureActive=1 continueCapturing=1 exposurePending=0