Interrogate Device i.e. ASCOM

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
User avatar
1CM69
Posts: 61
Joined: Tue Nov 14, 2017 9:49 pm

Interrogate Device i.e. ASCOM

Post by 1CM69 » Tue Sep 11, 2018 3:22 pm

Hi,
is there a way to grab info from a connected device i.e. ASCOM connected FilterWheel?

If I wanted to list the filters and their positions a user has added in the config of the device.

Regards..,

Kirk

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

Re: Interrogate Device i.e. ASCOM

Post by admin » Tue Sep 11, 2018 5:25 pm

Start with

Code: Select all

print SharpCap.Wheels.SelectedWheel.FilterNames
cheers,

Robin

User avatar
1CM69
Posts: 61
Joined: Tue Nov 14, 2017 9:49 pm

Re: Interrogate Device i.e. ASCOM

Post by 1CM69 » Tue Sep 11, 2018 5:34 pm

admin wrote:
Tue Sep 11, 2018 5:25 pm
Start with

Code: Select all

print SharpCap.Wheels.SelectedWheel.FilterNames
cheers,

Robin
Thanks Robin

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest