×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Some issues with SBIG driver

  • Posts: 205
  • Thank you received: 19
I managed to update and get some tests in.

I can confirm the cooler switch, and it works. Also correctly changes to on if you set a temperature.
So far, the filter wheel config seems to be sticking, but there's one issue with the filter slot: it's set to zero and this causes a (non fatal) error when it connects saying the slot is out of bounds. Can it determine what slot the fliter is at when connecting? Also, this value doesn't update when setting the slot, but it does actually change the filter.
9 years 10 months ago #1312

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

Hmmm where is getting the zero value from? the config file? It should default to 1 as minimum. Also, the current slot will be detected and I added a condition to make sure value should change to requested filter slot value but this all depends on the SBIG library calls and I'm not sure if it will work. Please retest :-)
9 years 10 months ago #1314

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

  • Posts: 205
  • Thank you received: 19
Updated... and it's closer.

When I first switched to the panel, the filter slot value was 1 (before it was zero).
It did not remember the Type field (and I don't think it ever has). As soon as I chose my filter wheel (CFW-8), it changed the value in the filter slot to 0.
I then set the filter slot to 1, but the displayed value remained 0.
Next, I did a disconnect/reconnect - again the error appeared.

Output:
2014-06-16T10:28:16: Error: valid range of filter is from 1 to 5 
2014-06-16T10:28:16: CFW connected. 
2014-06-16T10:28:11: CFW disconnected. 
2014-06-16T10:27:19: CFW position reached. 
2014-06-16T10:27:18: Setting current filter to slot 1 
2014-06-16T10:25:01: Error: valid range of filter is from 1 to 5 
2014-06-16T10:25:01: CFW connected. 
2014-06-16T10:24:53: Fan turned OFF. 
2014-06-16T10:24:46: SBIG CCD is online. Retrieving basic data. 

I saved the config, restarted everything, but no change from the above.
Last edit: 9 years 10 months ago by Chris Ryan.
9 years 10 months ago #1317

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

  • Posts: 130
  • Thank you received: 11

Replied by Klaus on topic Some issues with SBIG driver

Just checked the last driver version and found cooler and filter names working fine. No issue with slot numbers so far but my filter wheel is a CFW-402 and thus different from lazjen's.

Thanks a lot for your help.
Klaus
9 years 10 months ago #1318

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

I think I might have found the issue, it seems your filter wheel CFW8 for some reason does not report position back, so I added that manually. Please try again and check. I also added extra debugging statements you can enable if things don't go right.
9 years 10 months ago #1320

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

  • Posts: 205
  • Thank you received: 19
Just checking here - I did the svn up - the only change was the sbig_ccd file. I rebuilt 3rdparty.

Fired up kstars/ekos/indi. Output below. Unfortunately it still didn't work. The same behaviour of 1 in the field, then as soon as I connect it changes to 0 and puts the error message in the output. This happens for every disconnect/connect.
2014-06-17T09:43:10: CCD temperature +23.3 [C], TE cooler: 0.0 [%]. 
2014-06-17T09:43:10: ccdTemp: 23.3248 setpointTemp: 21.6605 TEMP_DIFF 0.5 
2014-06-17T09:43:10: QueryTemperatureStatus: Regulation Enabled (False) ccdTemp (23.3248) setpointTemp (21.6605) power (0) 
2014-06-17T09:43:02: Configuration successfully saved. 
2014-06-17T09:43:02: Error: valid range of filter is from 1 to 5 
2014-06-17T09:43:02: Setting CCD frame buffer size to 3121712 bytes. 
2014-06-17T09:43:02: The Final CCD image area is (140007343915008, 140007343915008), (1530, 140007343916028) 
2014-06-17T09:43:02: Setting CCD frame buffer size to 3121712 bytes. 
2014-06-17T09:43:02: The Final CCD image area is (4654443826608340992, 0), (5569075181218956794, 1020) 
2014-06-17T09:43:02: Requested CCD Frame is    0,   0 1530 x 20839968507553769346908822664650864778445772495020373151836012544 
2014-06-17T09:43:02: CFW connected. 
2014-06-17T09:43:02: CFW min: 1 Max: 5 Current Slot: 0 
2014-06-17T09:43:02: CFW Firmware: 0 
2014-06-17T09:43:02: CFW Product ID: CFW - 8 
2014-06-17T09:43:02: CFW Status Idle. 
2014-06-17T09:43:00: CCD temperature +23.3 [C], TE cooler: 0.0 [%]. 
2014-06-17T09:43:00: ccdTemp: 23.3248 setpointTemp: 21.6605 TEMP_DIFF 0.5 
2014-06-17T09:43:00: QueryTemperatureStatus: Regulation Enabled (False) ccdTemp (23.3248) setpointTemp (21.6605) power (0) 
2014-06-17T09:42:50: CCD temperature +23.3 [C], TE cooler: 0.0 [%]. 
2014-06-17T09:42:50: ccdTemp: 23.3248 setpointTemp: 21.6605 TEMP_DIFF 0.5 
2014-06-17T09:42:50: QueryTemperatureStatus: Regulation Enabled (False) ccdTemp (23.3248) setpointTemp (21.6605) power (0) 
2014-06-17T09:42:43: Fan turned OFF. 
2014-06-17T09:42:40: QueryTemperatureStatus: Regulation Enabled (False) ccdTemp (23.3248) setpointTemp (21.6605) power (0) 
2014-06-17T09:42:40: Created Guide Head CCD buffer 650942 bytes. 
2014-06-17T09:42:40: Created Primary CCD buffer 3121712 bytes. 
2014-06-17T09:42:40: Retrieving CCD Parameters... 
2014-06-17T09:42:40: SBIG CCD is online. Retrieving basic data. 
2014-06-17T09:42:33: Toggle Logging Level -- Driver Debug 
2014-06-17T09:42:32: Toggle Debug Level -- Driver Debug 
2014-06-17T09:42:31: Debug is enabled. 

...time passes...
I thought it strange that it didn't appear to be saving the filter value to the config no matter what I set. I hacked the xml config, changed the value from 0 to 1 and it now works fine. I think a problem may lie in the load/save routine for the XML and perhaps not the filter wheel code?

I can disconnect/connect without error and it goes to the config's saved value upon reconnect - although I did notice that immediately after connecting the value displayed went to 0 first before eventually settling on the correct value (I assume it was syncing the filter wheel to the correct position).
9 years 10 months ago #1321

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

It seems for some reason CFW-8 does not report filter wheel position. (Current Slot: 0), so I'll set it to 1 initially unless it is changed by the user or the config file.
9 years 10 months ago #1324

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

  • Posts: 205
  • Thank you received: 19
Reporting back on this: This works fine now, thanks.

However, a minor issue I found was that if you had previously visited the CCD tab (which has a filter list chooser), then updated the filter names for the filter wheel, it did not update the names in the CCD tab. Plus, the default names of "Filter #1" etc cause invalid file names if you tick the option to include the filter in the name.
9 years 9 months ago #1482

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

Both these issues are now resolved in GIT. The space in "Filter #1" is removed since cfitsio doesn't like spaces and whenever the filter name is updated in INDI control panel it is immediately reflected in Ekos.
9 years 9 months ago #1488

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

Time to create page: 0.313 seconds