×

INDI Library v1.7.8 Released (11 May 2019)

Mid year release of INDI Library v1.7.8 comes with a few drivers and improvements to to existing drivers.

Moravian Temp. Ramp and Window Heating parameters not loaded

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Moravian Temp. Ramp and Window Heating parameters not loaded was created by sterne-jaeger

I have a small problem with the MI CCD INDI Driver. If the parameters for the Temperature Ramp and the Window Heating is changed, the values are stored in the config file. But when the driver is reloaded, these configuration parameters are ignored.

Does anybody have the same problem? I've tried to figure out where the problem in the code is - but everything looks like it should.

- Wolfgang
2 weeks 4 days ago #38855

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

Replied by knro on topic Moravian Temp. Ramp and Window Heating parameters not loaded

Have you tried to set a breakpoint at ISNewNumber and see if the properties are updated and the API functions called?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 weeks 3 days ago #38861

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

Thanks for the question, I could drill it down a little bit. The weird thing is, that it claims "Loading device configuration... " on driver startup, but it does not step into the breakpoint for any number configuration. As soon as I load the configuration manually, everything is fine.

I'll try to drill it down further.

- Wolfgang
2 weeks 3 days ago #38867

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

  • Posts: 417
  • Karma: 2
  • Thank you received: 81

Replied by nmac on topic Moravian Temp. Ramp and Window Heating parameters not loaded

Yep that happens to me too.
They are not restored.
(PT) SC@ROS Observatory
TS 6" F4 Newtonian / Canon 550D / GPU CC / Datyson T7M / Arduino Moonlite DC Clone- HEQ5 Pro
Explore Scientific 80APO - 120ST / G2-8300FW5 / ES FF 2" / ASI120MM - Arduino Moonlite DC Clone - Vixen GPD2
www.flickr.com/photos/139335144@N03/
2 weeks 3 days ago #38868

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

Hm, I have to correct myself. On driver startup, the configuration is loaded and ISNewNumber is called. When I step inside, even the attributes are updated to the correct value. But it seems like it does not reach the INDI GUI of Kstars.
2 weeks 3 days ago #38869

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

... and when I connect a second time to the driver, the correct value from the configuration is present. It seems like something with the initial configuration load does not work appropriately.
2 weeks 3 days ago #38871

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

It seems like the INDI properties aren't initialized correctly in the driver. When I call Indi_getprop, none of the INDI properties defined in the mi_ccd driver is listed. Only the properties of the underlying indi_ccd device are visible.

Any explanation for this?

- Wolfgang
1 week 5 days ago #39054

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

Replied by knro on topic Moravian Temp. Ramp and Window Heating parameters not loaded

I would suspect it has to do something with the driver renaming itself? What device name are you getting in indi_getprop?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 week 4 days ago #39062

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

It reports "MI CCD G2-8300", but none of the properties defined in mi_ccd.cpp are listed. The strange thing, which I do not understand: defineNumber(&TemperatureRampNP) is properly called within updateProperties(). Nevertheless, it does not appear as property when asked with indi_getprop.
6 days 6 hours ago #39248

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

  • Posts: 158
  • Karma: 2
  • Thank you received: 40

Replied by sterne-jaeger on topic Moravian Temp. Ramp and Window Heating parameters not loaded

I still cannot resolve the issue, but I could narrow it down. It seems like the property updates do not reach the EKOS client after the Indi driver reads the configuration. If I disconnect and connect again, the correct values are displayed.

Any ideas?
15 hours ago #39400

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

Time to create page: 0.539 seconds