Differentiating two instances

Scripts and programs to automate Astroart
Post Reply
Kaban
Posts: 11
Joined: 16 Sep 2021, 16:29

Differentiating two instances

Post by Kaban » 27 May 2025, 18:05

Hello.
I have been using AstroArt successfully from Python scripts and i woulkd like to continue doing so but this time with two instances.
I can open an instance with the simple code

my_dll.AASendCommand(1)

And then, i send and run a script to AstroArt with

my_dll.AASendCommand(10, text.encode());

where the text is a VBasic script for AstroArt.

But now i would like to use two scripts. Two cameras. How can i manage to differentiate from those two scripts? I mean, i would like to send a different script to each instace. How can i differentiate them?

Any advice would be welcome.

Thanks.

David.

fabdev
Posts: 526
Joined: 03 Dec 2018, 21:43

Re: Differentiating two instances

Post by fabdev » 29 May 2025, 16:30

Hello, the incoming SP2 (to be released in August 2025) is able to control two sessions from one script, this could be a solution.
Other solutions could be possible, please write me by email or PM for details or to receive the pre-release: https://www.msb-astroart.com/support.htm
Fabio.

Post Reply