×

INDI Library v1.8.0 is Released (27 Jul 2019)

INDI Library v1.8.0 is mostly a maintenance release to fix a few bugs in several drivers.

Qhy2Pro not working? :-(

  • Posts: 89
  • Thank you received: 6

Qhy2Pro not working? :-( - Likely Solved :-) was created by universalmaster

Hi!

I have a QHY2 Pro that I was hoping would work with indi. When I start the driver it sees the camera and I am able to change things such as gain and offset in EKOS, but when I try to take an exposure from EKOS I get the message

[ERROR] Set expose time failed (-1).

I tried to run qhy_ccd_test which gives this output to the commandline
<code>
QHY Test CCD using SingleFrameMode, Version: 1.00
QHYCCD | qhyccd.cpp | InitQHYCCDResource | START
QHYCCD | qhyccd.cpp | InitQHYCCDResource | END
SDK resources initialized.
ScanQHYCCD
QHYCCD | QHYCCD.CPP SCANQHYCCD | start
vid = 16c0 pid = 2971
QHYCCD QHYCCD.CPP InitQHYCCDClass(camtype,index):| 221 0
QHYCCDRD nSize | ccdimagew ccdimageh 1440 1050
imagequeuelength 0x6c17e0 framelength 0x6c17e0
QHYCCD | QHYCCD.CPP ScanQHYCCD | init the imagequeue,nSize=7084000
GetIdFromCam
ScanQHYCCD numdev=1
QHYCCD | QHYCCD.CPP ScanQHYCCD | finished. Return nid=1
Number of QHYCCD cameras found: 1
GetQHYCCDId
QHYCCD | qhyccd.cpp | GetQHYCCDId | START
QHYCCD QHYCCD.CPP GetQHYCCDId | index=0 id=QHY2PRO-M-010103XXXXXXXXXX
Application connected to the following camera from the list: Index: 1, cameraID = QHY2PRO-M-010103XXXXXXXXXX
QHYCCD | qhyccd.cpp | OpenQHYCCD | START
OpenQHYCCD camid=QHY2PRO-M-010103XXXXXXXXXX
QHYCCD | QHYCCD.CPP OpenQHYCCD | camera id=QHY2PRO-M-010103XXXXXXXXXX
QHYBASE ConnectCamera
openCamera
ConnectCamera
Open QHYCCD success.
QHYCCD | qhyccd.cpp | SetQHYCCDStreamMode | START
QHYCCD | QHYCCD.CPP SetQHYCCDStreamMode | mode=0
QHYBASE SetStreamMode 0
QHYCCD | QHYCCD.CPP SetQHYCCDStreaMode | return value=0
SetQHYCCDStreamMode set to: 0, success.
QHYCCD | QHYCCD.CPP InitQHYCCD | return value=-1
QHYCCD_handle2index - index 0
will init QHYCCD
QHYCCD | QHYCCD.CPP InitQHYCCD | return value=0
InitQHYCCD success.
QHYBASE GetOverScanArea overScanStartX=1424 overScanStartY=30 overScanSizeX=10 overScanSizeY=1000
QHYCCD | QHYCCD.CPP GetOverscanArea startx starty sizex sizey 1424 30 10 1000
GetQHYCCDOverScanArea:
Overscan Area startX x startY : 1424 x 30
Overscan Area sizeX x sizeY : 10 x 1000
QHYBASE GetOverScanArea overScanStartX=1424 overScanStartY=30 overScanSizeX=10 overScanSizeY=1000
QHYCCD | QHYCCD.CPP GetOverscanArea startx starty sizex sizey 1424 30 10 1000
GetQHYCCDEffectiveArea:
Effective Area startX x startY: 1424 x 30
Effective Area sizeX x sizeY : 10 x 1000
QHYBASE GetChipInfo ccdchipw=10.200000 ccdchiph=8.300000 ccdimagew=1440 ccdimageh=1050 ccdpixelw=6.450000 ccdpixelh=6.450000 cambits=16
QHYCCD | QHYCCD.CPP GetQHYCCDChipInfo | chipw,chiph,imagew,imageh,pixelw,pixelh,bpp 10.200000,8.300000,1440,1050,6.450000,6.450000,16
GetQHYCCDChipInfo:
Effective Area startX x startY: 1424 x 30
Chip size width x height : 10.200 x 8.300 [mm]
Pixel size width x height : 6.450 x 6.450 [um]
Image size width x height : 1440 x 1050
QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=20 return value=-1
This is a mono camera.
QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=12 return value=-1
QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=6 return value=0
SetQHYCCDParam CONTROL_GAIN failure, error: -1
</code>

and this to the logfile
<code>
2018-12-08 09:41:17:611|QHYCCD | qhyccd.cpp | InitQHYCCDResource | START
2018-12-08 09:41:17:626|QHYCCD | qhyccd.cpp | InitQHYCCDResource | END
2018-12-08 09:41:17:627|ScanQHYCCD
2018-12-08 09:41:17:627|QHYCCD | QHYCCD.CPP SCANQHYCCD | start
2018-12-08 09:41:17:627|vid = 16c0 pid = 2971
2018-12-08 09:41:17:627|QHYCCD QHYCCD.CPP InitQHYCCDClass(camtype,index):| 221 0
2018-12-08 09:41:17:627|QHYCCDRD nSize | ccdimagew ccdimageh 1440 1050
2018-12-08 09:41:17:627|imagequeuelength 0x6c17e0 framelength 0x6c17e0
2018-12-08 09:41:17:627|QHYCCD | QHYCCD.CPP ScanQHYCCD | init the imagequeue,nSize=7084000
2018-12-08 09:41:17:627|GetIdFromCam
2018-12-08 09:41:17:628|ScanQHYCCD numdev=1
2018-12-08 09:41:17:628|QHYCCD | QHYCCD.CPP ScanQHYCCD | finished. Return nid=1
2018-12-08 09:41:17:628|GetQHYCCDId
2018-12-08 09:41:17:628|QHYCCD | qhyccd.cpp | GetQHYCCDId | START
2018-12-08 09:41:17:628|QHYCCD QHYCCD.CPP GetQHYCCDId | index=0 id=QHY2PRO-M-010103XXXXXXXXXX
2018-12-08 09:41:17:628|QHYCCD | qhyccd.cpp | OpenQHYCCD | START
2018-12-08 09:41:17:628|OpenQHYCCD camid=QHY2PRO-M-010103XXXXXXXXXX
2018-12-08 09:41:17:628|QHYCCD | QHYCCD.CPP OpenQHYCCD | camera id=QHY2PRO-M-010103XXXXXXXXXX
2018-12-08 09:41:17:628|QHYBASE ConnectCamera
2018-12-08 09:41:17:628|openCamera
2018-12-08 09:41:17:628|ConnectCamera
2018-12-08 09:41:17:629|QHYCCD | qhyccd.cpp | SetQHYCCDStreamMode | START
2018-12-08 09:41:17:629|QHYCCD | QHYCCD.CPP SetQHYCCDStreamMode | mode=0
2018-12-08 09:41:17:629|QHYBASE SetStreamMode 0
2018-12-08 09:41:17:629|QHYCCD | QHYCCD.CPP SetQHYCCDStreaMode | return value=0
2018-12-08 09:41:17:629|QHYCCD | QHYCCD.CPP InitQHYCCD | return value=-1
2018-12-08 09:41:17:629|QHYCCD_handle2index - index 0
2018-12-08 09:41:17:629|will init QHYCCD
2018-12-08 09:41:17:629|QHYCCD | QHYCCD.CPP InitQHYCCD | return value=0
2018-12-08 09:41:17:629|QHYBASE GetOverScanArea overScanStartX=1424 overScanStartY=30 overScanSizeX=10 overScanSizeY=1000
2018-12-08 09:41:17:629|QHYCCD | QHYCCD.CPP GetOverscanArea startx starty sizex sizey 1424 30 10 1000
2018-12-08 09:41:17:630|QHYBASE GetOverScanArea overScanStartX=1424 overScanStartY=30 overScanSizeX=10 overScanSizeY=1000
2018-12-08 09:41:17:630|QHYCCD | QHYCCD.CPP GetOverscanArea startx starty sizex sizey 1424 30 10 1000
2018-12-08 09:41:17:630|QHYBASE GetChipInfo ccdchipw=10.200000 ccdchiph=8.300000 ccdimagew=1440 ccdimageh=1050 ccdpixelw=6.450000 ccdpixelh=6.450000 cambits=16
2018-12-08 09:41:17:630|QHYCCD | QHYCCD.CPP GetQHYCCDChipInfo | chipw,chiph,imagew,imageh,pixelw,pixelh,bpp 10.200000,8.300000,1440,1050,6.450000,6.450000,16
2018-12-08 09:41:17:630|QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
2018-12-08 09:41:17:630|QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=20 return value=-1
2018-12-08 09:41:17:630|QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
2018-12-08 09:41:17:630|QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=12 return value=-1
2018-12-08 09:41:17:630|QHYCCD | qhyccd.cpp | IsQHYCCDControlAvailable | START
2018-12-08 09:41:17:630|QHYCCD | QHYCCD.CPP IsQHYCCDControlAvailable | CONTROL_ID=6 return value=0
</code>

I am running ubuntu 16.04 on a Raspberry Pi with the latest indi from 'apt'.

Any ideas for getting this to work?

Best Regards
Søren
Last edit: 7 months 1 week ago by universalmaster.
8 months 2 weeks ago #32417

Please Log in or Create an account to join the conversation.

Replied by knro on topic Qhy2Pro not working? :-(

Please share this on the official QHY forum and they might take a look at it.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
8 months 2 weeks ago #32421

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 6

Replied by universalmaster on topic Qhy2Pro not working? :-(

Thanks for the suggestion. Here is a link to the thread of anyone is interested:
en.coolccd.com/bbs/index.php?topic=6747.0
8 months 1 week ago #32475

Please Log in or Create an account to join the conversation.

  • Posts: 97
  • Thank you received: 17

Replied by fmozza on topic Qhy2Pro not working? :-(

universalmaster wrote: Thanks for the suggestion. Here is a link to the thread of anyone is interested:
en.coolccd.com/bbs/index.php?topic=6747.0


I looked for QHY2Pro in the library file itself, and it is there, but it may not be supported. I believe the original QHY8 is in the same boat - its there, but the INDI QHY driver doesn't recognise it. I don't know how old the QHY2Pro cameras are, but my guess is that QHY is beginning to drop support for some of the older stuff. It can be difficult to maintain and keep software current with new operating system releases, especially if the older OS's are also dropping off.

Regards,

jmh
8 months 1 week ago #32481

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 6

Replied by universalmaster on topic Qhy2Pro not working? :-(

That's annoying! Is it possible to try to go back to an old version of Indi? I am pretty sure it has worked in the past...
8 months 1 week ago #32488

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 6

Replied by universalmaster on topic Qhy2Pro not working? :-(

No real reply from qhy yet...

The camera works fine under ascom on Windows 10, but I don't use Windows in the observatory.

I have also tested it under Ubuntu 18.04 on a laptop and here I get the same error as above, so it seems to be the Linux drivers that are broken.

Would it be possible from Indi on an RPI to control the camera if it is connected to a Windows 10 computer running ascom?

Is it possible to try to revert to an older indi_qhy_ccd version?
8 months 1 week ago #32584

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 6

Replied by universalmaster on topic Qhy2Pro not working? :-(

Hi!

Just want to report the great news, that a qhy developer posted a link to a new sdk in the thread on the qhy forum (see link above), and after installing it my camera is working in both Indi and ezcap on RPi3. Hopefully the fix will be in Indi in the near future.

Best regards,
Søren
7 months 1 week ago #33517

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 6

Replied by universalmaster on topic Qhy2Pro not working? :-(

I stupidly felt the need to update indi and unfortunately the camera no longer works in the latest indi (1.8.0). Not even after installing the qhy sdk, as reported in the comment above. I reported this on the qhy forum. All comments are appreciated...
Last edit: 2 weeks 1 day ago by universalmaster.
2 weeks 1 day ago #41777

Please Log in or Create an account to join the conversation.

Time to create page: 0.712 seconds