Massimo replied to the topic 'SX Filterwheel one-way rotation' in the forum. 2 months ago

That would be awesome!!!

Read More...

Massimo replied to the topic 'SX Filterwheel one-way rotation' in the forum. 2 months ago

Hi, thanks a lot for the info.

I wrote to Terry Platt of SX asking for the source code of the Windows program, his answer was: "I don’t have the source to hand but the rotation direction is easily changed. All you need to do is to send the filter position numbers with 128 added for reverse rotation, so if you never do this, the wheel will always rotate anti-clockwise."

So I checked the sxwheel.cpp code and at line 149 I found the instance: "SendWheelMessage(f + 0x80, 0);"
I naively removed the "+ 0x80" which should be + 128 in HEX, recompiled and installed the driver.
And it magically works, rotation is always anti-clockwise.

There is a but, though. For whatever reason, at start-up, after the wheel finishes indexing (i.e. after it completes a full rotation at power on) the first filter switching is random, clockwise or anti-clockwise following the shortest route. Only the initial connection after indexing experiences this. If I disconnect and reconnect from the INDI Control Panel the rotation is always anti-clockwise, but if I disconnect, power down the wheel, power up it, wait for indexing, then the first movement is random... I'm not a coder, I tried a few random things (add + or - 0x80 here and there... but it didn't work.

My solution is that, since after indexing the wheel always (at least for as much as I tried) start at position number 1, I try to always disconnect the wheel with the filter set at position number 1. Then on connection the filter wheel doesn't move and if I then I make the first movement to position 2, it turns anti-clockwise and from there it keeps going that direction.

Surely a INDI wide implementation would remove all this hassle.

Read More...

Massimo replied to the topic 'SX Filterwheel one-way rotation' in the forum. 2 months ago

I'm facing the same problem... my 36mm filters are not large enough for my QHY268 due to the overshooting. In particular flat correction becomes nearly impossible.

Hope someone is able to put the option for 1-direction in the driver.

Read More...

Massimo replied to the topic 'Kstars crash when live view open' in the forum. 2 months ago

I've seen this type of behaviour when my system was under-powered. Live view suck up a lot of current, so if your power source is underrated or suboptimal under live view high load all type of erratic behaviour can happen. But maybe is not your case.

Read More...

I'm happy it worked... sorry if my explanation was a little bit sketchy.

Best

Read More...

Mmmm...as a last resort, if I were you, I would try exactly what you did, i.e. generate a clean profile with only the camera, but first I would delete all previously generated configuration files and create a new one based on that profile. Maybe you are lucky that way. In my case this worked with KStars 3.5.9 and also 3.6.0 but I have a Mars-M.

Read More...

It happened the same to me. The solution, however, was very simple.

Disable "Auto Connect" in the EKOS configuration panel. Then save a configuration for the camera in the INDI control panel, only after that press the connect button.
Apparently if a configuration file is not present KStars gets mad.

Read More...

Massimo replied to the topic 'ubuntu ppa repository failure' in the forum. 3 months ago

Did you try using the script I posted a few message above? However a prerequisite is starting from a clean system or the combination of missing dependancies and wrong version libraries can result in a huge mess... and with he a mean really huge

Read More...

Massimo replied to the topic 'ubuntu ppa repository failure' in the forum. 3 months ago

Probably is not what you want to hear... but I simply erased the whole HD and started from a fresh Ubuntu install. But maybe a make uninstall works... Or even more Hocus Pocus techniques like: stackoverflow.com/questions/1439950/what...tall-a-library-in-li

Read More...

Massimo replied to the topic 'ubuntu ppa repository failure' in the forum. 3 months ago

Actually, for me, installing from the nightly works, even if some drivers are broken ( in particular, PlayerONE cameras do not work any more, at least for me). Also, compiling from source works.

I think we have to be a little bit patient until the next stable release is out... if I'm correct, that should happen on the 29th of July.

Read More...

Massimo replied to the topic 'ubuntu ppa repository failure' in the forum. 3 months ago

Yep, you are right... However, since my system is so basic and I use it only to operate the telescope, I simply wipe it clean and start from scratch. I just use Lancaster's "backupOrRestore.sh" script to save Indi and Kstar preferences. github.com/rlancaste/AstroPi3

Read More...

Massimo replied to the topic 'ubuntu ppa repository failure' in the forum. 3 months ago

Hi,

for me (NUC with Ubuntu 22.04) these scripts work like a charm...

gitea.nouspiro.space/nou/astro-soft-build

Read More...