Pegasus Astro Indigo Filter Wheel Won't Connect

A place to report problems and bugs in SharpCap
Forum rules
‍

If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#11

Post by admin »

Hi,

OK, I think this is a bug in the Pegasus ASCOM drivers, which SharpCap has a tendency to trigger when other applications might not.

The following code generates an error with Pegasus ASCOM drivers on the second attempt to connect after disconnecting

Code: Select all

            Switch sw = new Switch("ASCOM.PegasusAstro.Switch 1");
            Console.WriteLine("About to connect");
            sw.Connected = true;
            Console.WriteLine("About to disconnect");
            sw.Connected = false;
            Console.WriteLine("About to reconnect");
            sw.Connected = true; // error happens here - Pegasus ASCOM drivers fail to reconnect
            Console.WriteLine("All done");
I don't think it should - reading the ASCOM spec, there is no suggestion that you can only connect then disconnect once (https://ascom-standards.org/Help/Platfo ... nected.htm) and no other drivers do this that I am aware of. (Testing on a switch device as that's the Pegasus kit I had to hand).

Anyway, some of the code in SharpCap sets 'Connected' to false just to ensure a consistent state, and that action puts the Pegasus ASCOM driver into a broken state where it can't do anything else. In particular, the filter wheel code seems to do this.

I am going to try to deal with the unnecessary setting of Connected to false by SharpCap, which should allow the setup and connection to the Pegasus wheel to work. You will still get an error if you connect the wheel, disconnect it and then try to reconnect to it in SharpCap, since that directly triggers the disconnect/reconnect issue in the Pegasus ASCOM drivers. Hopefully they will fix that issue on the Pegasus side.

cheers,

Robin
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#12

Post by admin »

LordRat wrote: Fri Feb 21, 2025 2:43 pm Delighted to help in anyway I can including loaning a filter wheel as a) it is cloudy and b) if it is not I still have a 1.25in ZWO filter wheel which works fine.
Crossed posts... Thanks for the offer, but hopefully we are on track towards a fix now :)

Look out for next week's update and we can see if it gives any improvements.

cheers,

Robin
LordRat
Posts: 4
Joined: Thu Feb 20, 2025 7:45 am

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#13

Post by LordRat »

I have downloaded SharpCap v4.....152 and the filterwheel using v2 and Sharpcap now seem to be talking.

Thank you!
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#14

Post by admin »

Hi,

glad to hear it is now working. I will send a message to Pegasus to try to get them to correct the problem on their side too.

cheers,

Robin
nebulosity10
Posts: 5
Joined: Sat Jan 25, 2025 5:18 am

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#15

Post by nebulosity10 »

I am happy to assist as well if I can do any testing to evaluate and debug. I am currently awaiting a response from PegasusAstro myself, but sounds like they have redirected the issue back to SharpCap for the moment.

Currently my work around is to connect the filter wheel but never disconnect it for the duration of my session. To disconnect, I need to expressly close SharpCap and reopen it.
User avatar
admin
Site Admin
Posts: 17530
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Pegasus Astro Indigo Filter Wheel Won't Connect

#16

Post by admin »

Hi,

yes, that's currently the best way to deal with the problem - I am reluctant to add any further workaround in SharpCap as this is a peculiarity of the Pegasus drivers that they cannot reconnect after disconnection. I did report this issue to pegasus, but have heard nothing back so far.

cheers,

Robin
Post Reply