Beta nearly over (but some new features snuck in too)

All the latest news about new features and improvements to SharpCap
User avatar
admin
Site Admin
Posts: 17496
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Beta nearly over (but some new features snuck in too)

#11

Post by admin »

Borodog wrote: Tue Oct 20, 2026 4:13 pm
Can a python script be run from within the sequencer? Perhaps having a script that just does the flip and reacquires the target that could be run from the sequencer would be the simplest way to go.
Yes, you can run a script from the sequencer (or run a sequence from the scripting, but I wouldn't advise trying to go recursive on that!).

cheers,

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

Re: Beta nearly over (but some new features snuck in too)

#12

Post by admin »

Borodog wrote: Tue Oct 20, 2026 4:13 pm
Can a python script be run from within the sequencer? Perhaps having a script that just does the flip and reacquires the target that could be run from the sequencer would be the simplest way to go.
Yes, you can run a script from the sequencer (or run a sequence from the scripting, but I wouldn't advise trying to go recursive on that!).

cheers,

Robin
Borodog
Posts: 484
Joined: Fri Jan 01, 2021 7:25 pm

Re: Beta nearly over (but some new features snuck in too)

#13

Post by Borodog »

How would I do an offset goto from either the sequencer or python?
Borodog
Posts: 484
Joined: Fri Jan 01, 2021 7:25 pm

Re: Beta nearly over (but some new features snuck in too)

#14

Post by Borodog »

Second question. How do I start and stop feature tracking from Python and change feature tracking parameters such as the correction scaling factor?
User avatar
admin
Site Admin
Posts: 17496
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Beta nearly over (but some new features snuck in too)

#15

Post by admin »

Hi,

to turn on the offset sync/regoto, use this line from scripting

Code: Select all

SharpCap.Reticules.SelectReticule("Alignment Mark")
That displays the alignment mark on top of the image, which also enables the offset when performing the sync. Anything that primarily displays info over the image (usually without any other UI) is a 'reticule' as far as the internals of the application go. Turn it off again by setting the selected reticule to None (or trying to select an empty string - "")

Feature tracking is available via SharpCap.FeatureTracking - from that you can 'Show' the window, start the various stages (monitoring, calibration, tracking, etc) and monitor the current status via 'IsGuiding' etc. You can load a saved calibration, but there is no access to adjusting the settings from that API - the assumption is that this is to turn on/off the feature tracking under automation once it has already been configured manually. Essentially I wrote the minimum that seemed to make sense as a usable API and then left it waiting to see if anyone asked for more... So, which parameters do you absolutely need to change, or are those just a nice to have for future ideas?

cheers,

Robin
Post Reply