Quantcast
Channel: Main Sequence Software - Latest posts
Viewing all articles
Browse latest Browse all 52138

SGP control for Spike-a flat panel

$
0
0

Hi everyone,

I am building a remote private Observatory. I have developed Dome, UPS Power and Safety Hub ASCOM driver. Finally, I need to develop a Flat ASCOM driver, so searching and find this topic.
Through this forum, I saw a Sample:
var X = new ActiveXObject("ASCOM. SpikeAFlatFielder.Switch");
X.SetupDialog();
WScript.Echo("hit ok to connect");
X.Connected = true;
WScript.Echo("hit ok to turn it on, brightest");
X.SetSwitchValue(0, 1023);
WScript.Echo("hit ok to go dimmer");
X.SetSwitchValue(0, 128);
WScript.Echo("hit ok to turn it off");
X.SetSwitchValue(0, 0);

I would like to ask the question: do I use VisualStudio build a Swith ASCOM program framework, implement the Connected, SetSwitchValue method? SGPro may use the ASCOM driver?

Thank you!
:slight_smile:


Viewing all articles
Browse latest Browse all 52138

Trending Articles