×

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: 130
  • Thank you received: 11

Replied by Klaus on topic Some issues with SBIG driver

Well, cooler looks good now, despite the fact that I can switch it ON by clicking the Set button but cannot switch it OFF.

Storing the filter names does not work. Sometimes it is ok but sometimes Filter #1 etc. is written to the config file upon disconnect from the wheel. Currently I have no clear way to reproduce this.

CS
Klaus
9 years 10 months ago #1283

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

  • Posts: 205
  • Thank you received: 19
I also get these problems too. And I haven't worked out the pattern for the filter names either.

Plus, the panel doesn't seem to detect the current state of the fan operation. From memory it defaults to off. When I plug in the CCD to the computer, the fan comes on. Fortunately you can still change the fan state by hitting on/off to eventually sort it out.
9 years 10 months ago #1285

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

Thank you for reporting these issues, I don't have an SBIG camera now to test, but I'll work on it under simulation and will ask you to test it once I fix these issues.
9 years 10 months ago #1286

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

  • Posts: 205
  • Thank you received: 19
I'll be glad to help testing as much as I can. I might be away for a few weeks, but if I'm around, then no worries!
9 years 10 months ago #1294

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

Ok, so I _think_ I fixed the filter name issue. I also added an option to control the cooler. All these were "tested" under simulation, so please test on SBIG and let me know if it works at all.
9 years 10 months ago #1301

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

  • Posts: 171
  • Thank you received: 41
I can test with our ST2000-XM with CFW-8 filterwheel within the next days. Normally we do not use this ccd due to its heavy weight, so I made some basic (successful) tests with INDI and did not use it anymore :D

Christian
9 years 10 months ago #1303

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

  • 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.

Time to create page: 0.930 seconds