×

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

Bi-monthly release with minor bug fixes and improvements

Problem with FILTER_NAME property

  • Posts: 211
  • Thank you received: 104
Hi,

I have a problem with filter names being reset to default hardcoded values when a new Indi client is connecting.
The problem is only present if the CCD camera "Snoop device" Filter is set to the filter wheel. Setting this to a non existent value fix the problem.
If I remember correctly I first remark this problem in December and it is still present using today ppa.

I have first this issue using an EFW2 with an Atik314 but I can reproduce the problem with the ccd and wheel simulator.
To reproduce:
- start the server with indiserver indi_simulator_ccd indi_simulator_wheel
- connect a graphical client, connect both ccd and filter simulator
- check that CCD snoop filter is Filter Simulator
- Set some nice name for the filter names
- connect to the server with telnet localhost 7624
- from telnet send <getProperties version='1.7'/>
- notice that after the defTextVector with the correct names you finally receive "<setTextVector device="Filter Simulator" name="FILTER_NAME"..." with the hardcoded names
- the graphical client is also updated with the default value as everyone receive this setTextVector

Is this a bug or do I not understand something with the Snoop devices ?

Patrick
7 years 3 months ago #14083

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

It was not a snooping problem per se, but GetFIlterName(..) was being invoked when getProperties is called and hence it was reloading the hardcoded value. I committed a quick fix. Please git pull and let me know if you still have the problem.
The following user(s) said Thank You: Patrick Chevalley
7 years 3 months ago #14089

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

  • Posts: 211
  • Thank you received: 104
Yes the last git fix the problem, now the customized filter name are kept.
Thank you Jasem.
7 years 3 months ago #14092

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

Time to create page: 0.319 seconds