×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

short exposures with indi_sx_ccd driver

  • Posts: 32
  • Thank you received: 3
Hello,

Since I can not choose a time of less than 1 second under EKOS, I tried directly with shell commands.
I can take a frame of one second, and even 0.5 s, but no way to go below.
Eg.:
$ sx="SX CCD SXVR-H694"
$ indi_setprop "$sx".CCD_EXPOSURE.CCD_EXPOSURE_VALUE=0.1
$ indi_getprop -t 10 "$sx".CCD1.CCD1
But nothing happens :(
9 years 6 months ago #1938

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

  • Posts: 712
  • Thank you received: 174
Last edit: 9 years 6 months ago by Peter Polakovic.
9 years 6 months ago #1942

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

  • Posts: 32
  • Thank you received: 3
Yes I did.

I have no problem with exposures longer than 1 s.
$ ls -l "SX CCD SXVR-H694.CCD1.CCD1.fits"
-rw-rw-r--. 1 adam adam 12104640 Sep 22 19:45 SX CCD SXVR-H694.CCD1.CCD1.fits
$ fitsheader "SX CCD SXVR-H694.CCD1.CCD1.fits" | grep ^EXPTIME
EXPTIME =                  1. / Total Exposure Time (s)

As said before I even managed to take a break from half second.
But no way to choose a shorter duration.

In fact I did the test with the simulator "indi_simulator_ccd" and I get to choose for very short periods.

It seems to be the SX driver causing the problem :(
9 years 6 months ago #1945

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

  • Posts: 712
  • Thank you received: 174
Hi, I tried it with my H694 and it works correctly even with 0.1s. Just follow HOWTO written by Peter Thejll. FIRST run indi_getprop in the background or in another window and than THEN execute indi_setprop. Peter

First window:

Retina:~ polakovic$ indi_getprop -v -t 30 "SX CCD SXVR-H694.CCD1.CCD1"
looking for SX CCD SXVR-H694.CCD1.CCD1
Connected to localhost on port 7624
Queried properties from SX CCD SXVR-H694
sending enableBLOB SX CCD SXVR-H694.CCD1
sending enableBLOB SX CCD SXVR-H694.CCD1
SX CCD SXVR-H694.CCD1.CCD1 reports uncompressed size as 12104640
Wrote SX CCD SXVR-H694.CCD1.CCD1.fits
Retina:~ polakovic$


Second window:

Retina:~ polakovic$ indi_setprop "SX CCD SXVR-H694.CCD_EXPOSURE.CCD_EXPOSURE_VALUE=0.1"
Retina:~ polakovic$
9 years 6 months ago #1946
Attachments:

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

  • Posts: 32
  • Thank you received: 3
I did exactly like that.
To see more information on the server I set the DEBUG property to "On".

With a duration of 1 second :
21:40:01: Driver indi_sx_ccd: sxClearPixels: libusb_control_transfer -> OK
21:40:01: Driver indi_sx_ccd: read <setNumberVector device='SX CCD SXVR-H694' name='CCD_EXPOSURE'>
21:40:01: Client 0: queuing <setNumberVector device='SX CCD SXVR-H694' name='CCD_EXPOSURE'>
21:40:02: Driver indi_sx_ccd: sxLatchPixels: libusb_control_transfer -> OK
21:40:06: Driver indi_sx_ccd: sxReadPixels: libusb_control_transfer -> OK
And with a period of 0.1second, you see an error on timeout :
21:46:02: Driver indi_sx_ccd: sxClearPixels: libusb_control_transfer -> OK
21:46:02: Driver indi_sx_ccd: read <setNumberVector device='SX CCD SXVR-H694' name='CCD_EXPOSURE'>
21:46:02: Client 0: queuing <setNumberVector device='SX CCD SXVR-H694' name='CCD_EXPOSURE'>
21:46:03: Driver indi_sx_ccd: sxLatchPixels: libusb_control_transfer -> LIBUSB_ERROR_TIMEOUT
9 years 6 months ago #1949

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

  • Posts: 712
  • Thank you received: 174
Hmmm... what hardware, OS and INDI version are you using?
9 years 6 months ago #1951

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

  • Posts: 32
  • Thank you received: 3
I am running Fedora 20, with a version of INDI compiled in June from GIT sources.
Since I recompiled INDI from the latest sources GIT yesterday, I get half the time to retrieve an image.
So I tried to improve my score ;)

Thought to have a USB communication problem, I increased the timeout commands control (BULK_COMMAND_TIMEOUT), and it seems that my problem is finally solved.

I was able in this case to acquire a few hundred BIAS to finaly build me a masterBias :)
9 years 6 months ago #1957

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

  • Posts: 712
  • Thank you received: 174
That's a good news :)
9 years 6 months ago #1959

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

Time to create page: 0.545 seconds