×
INDI Library v1.8.4 Released

Minor bugfix release with some highlights:

TruTech number of filters defaults to 5

6 days 9 hours ago
Mel
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
TruTech number of filters defaults to 5 #51055
Hi all

I am a new user so forgive me if this is a known issue or some such thing. I found that each time I start INDI Control Panel and navigate to my wheel tab it shows the filter count as 5 under options tab. I have edited the XML file in .indi to add my extra 2 filters ( it's a 7 position wheel) as I found I could not add filters either (maybe my mistake as a new user). However, this count parameter (5) seems to be read in the CCD tab and this means the last 2 filters cannot be selected in that tab when imaging.

The bug is easily reproduceable but you may need to have this filter wheel or similar connected to do so - I've seen some of the other Options tabs for other wheels and some do not have this parameter. The coint parameter does not appeear to be saved to the wheel config XML file.

The workaround - connect, set the value to 7 in the options tab. Save config. Disconnect, Reconnect then go to CCD tab - choose '---' in Filter wheel dropdown and then choose TruTech in drop down - the full filter list is now visible.

Cheers for a fantastic product - I'm going to shamelessly post my wishlist and copious gratitude all over this forum!

Iain
Attachments:

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

5 days 21 hours ago
knro
Administrator
Administrator
Posts: 7733
Karma: 51
TruTech number of filters defaults to 5 #51085
Thank you for the feedback. So the workaround is actually the way to do it. You set Max Filter to 7, then disconnect and reconnect. No need to save config explicitly since it does that by itself.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

4 days 19 hours ago
ChrisRowland
Platinum Boarder
Platinum Boarder
Posts: 364
Karma: 8
More
TruTech number of filters defaults to 5 #51145
Couldn't the number of filter positions be read from the wheel when it connects? In the Handshake command for example.
There may be no need to save the number of positions in the driver at all.

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

4 days 18 hours ago
knro
Administrator
Administrator
Posts: 7733
Karma: 51
TruTech number of filters defaults to 5 #51152
This property was added to devices that do not support this.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

4 days 17 hours ago
ChrisRowland
Platinum Boarder
Platinum Boarder
Posts: 364
Karma: 8
More
TruTech number of filters defaults to 5 #51156
The protocol seems to be here: www.indilib.org/forum/focusers-filter-wh...heel-lost.html#15206

The reset and wheel type identification code seems to return the number of filter positions.

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

4 days 16 hours ago
knro
Administrator
Administrator
Posts: 7733
Karma: 51
TruTech number of filters defaults to 5 #51158
I suppose this can happen if it is acceptable to reset the filter wheel to home upon initial connection?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

4 days 16 hours ago 4 days 16 hours ago by ChrisRowland.
ChrisRowland
Platinum Boarder
Platinum Boarder
Posts: 364
Karma: 8
More
TruTech number of filters defaults to 5 #51159
Don't see why not, my Quantum wheel rotates to the filter 1 position when power is applied.

I don't see anything to check that the wheel has reached the filter requested.

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

4 days 12 hours ago
knro
Administrator
Administrator
Posts: 7733
Karma: 51
TruTech number of filters defaults to 5 #51173
Alright, driver is now updated to home on startup and get the maximum number of wheels in this step. Please update and test.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You Mel

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

3 days 11 hours ago
Mel
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
TruTech number of filters defaults to 5 #51242
Hi Jasem

Thanks very much! Now the noob question - how to update just that driver? I did a full update recently and it caused me a bit of a problem as I had to reinstall the driver that I had recompiled for the USB wifi dongle.
This is what I did:

sudo apt-get update
sudo apt-get upgrade

Obviously I now know that will update and upgrade absolutely everything on the Pi. Do I need to just run for the indi wheel driver?

Thanks again!

Iain

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

2 days 13 hours ago 2 days 12 hours ago by Mel.
Mel
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
TruTech number of filters defaults to 5 #51290
Hi Jasem

I cloned the git repo, rebuilt locally and installed everything.

git clone --depth 1 github.com/indilib/indi.git
mkdir build/indi-core
cd build/indi-core
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/libindi/indi
make -j4
sudo make install
ls -latr /usr/bin/indi_trutech_wheel

Confirms just built version - maybe I messed up by installing everything from master?

Now the filter wheel tab throws an error on startup as attached. I had a good look around for more detailed and accessible log files on my pi (I'm running a Raspberry Pi btw). I'll go back to the manual to see if any locations are listed but if you can point me to where they might be?

Everything else seems to still work. The good news is that the problematic filter size parameter is now gone from the Options tab! :P :P

File Attachment:

File Name: filter_whe...sole.txt
File Size:2 KB


EDIT - I found a way to produce a log - attached.

File Attachment:

File Name: indi_trute...heel.LOG
File Size:8 KB
Attachments:

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

2 days 11 hours ago
Mel
Fresh Boarder
Fresh Boarder
Posts: 10
More
Topic Author
TruTech number of filters defaults to 5 #51291
Reverted locally by d-loading the repo pre your last commit on the trutech cpp and h files and replacing those rebuilding and installing. I'd still be interested in developments.

Thanks Jasem for your looking at this anyway - I'm happy to test for you if you want to send me code versions to run against my wheel! Just glad to be back up and running tonight...

Cheers
Iain

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

1 day 20 hours ago
knro
Administrator
Administrator
Posts: 7733
Karma: 51
TruTech number of filters defaults to 5 #51309
I updated the driver, please git pull and check again.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You Mel

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

Time to create page: 0.787 seconds