Thanks Chris and thanks Sander because - GOSH ! - ASCOM platform was installed on my OTHER PC ! Well, I installed it on this PC and then : 1 - Tried the park.vbs (not setpark) with simulator -> works perfectly indeed 2 - Tried it with Meade.Telescope -> hourglass, but no reaction 3 - Tried with MeadeEx.Telescope -> idem (shorter) and no reaction 4 - Tried with LXP.Telescope -> first time "methodPark is not implemented in this driver (source ASCOM generic LX200 Driver)" and, second time : "doesnot appear to be anything connected to the COM port" But the scope IS actually connected to COM1 and found on this port by skychart...
--- In [email protected], Chris Rowland <[EMAIL PROTECTED]> wrote: > > albireo155 wrote: > > Thanks very much Chris, > > I tried the scripts but - sorry - doesnot work. > > I get an error message (translated from french) "line 2 : an active X > > component can't create an object" > > Did you get this using the scripts exactly as shown? I've just checked > and it works fine with the scope simulator. > > Its also OK with the Celestron driver using NexRemote with no scope > connected. > > I did see an error 70, Permission denied if I tried Meade.Telescope with > no scope connected. > > So: > Make sure the script works with the scope simulator. > Try it with the same driver as you normally use with other programs. > Make sure that you try it with the scope connected to the PC and > initialised. > The scripts aren't very good at closing after the error, I had to use > Task Manager to stop the script. > > Ask again on the Ascom-Talk group. There is a lot of activity about the > RCX driver at the moment so the Meade people should be listening. > > By the way, you may also need an unpark script. Use Park.vbs as a guide > and replace Park with Unpark everywhere. > > Chris > > I don't have a > > Tried it with Meade.Telescope, LXP.Telescope and MeadeEx.Telescope, > > same result. > > Also tried with GetObject instead of CreateObject, got this new > > message "couldn't find name of file or class when executing > > GetObject" (again in broken english translation). > > We're probably short from success, but something seems to be missing ? > > Thanks again, anyway > > Michel > > > > --- In [email protected], Chris Rowland > > <chris_group_mail@> wrote: > >> Here are a couple of VB scripts that might help. > >> > >> First, to set the park position: > >> SetPark.vbs > >> ---- > >> dim s > >> set s = CreateObject("Scopesim.Telescope") > >> s.Connected = True > >> MsgBox "Slew to Park Position, then press OK" > >> s.SetPark > >> s.Connected = False > >> ----- > >> > >> Next to park the scope: > >> Park.vbs > >> ---- > >> dim s > >> set s = CreateObject("Scopesim.Telescope") > >> s.Connected = True > >> MsgBox "Press OK to Park scope" > >> s.Park > >> MsgBox "Scope is now parked" > >> s.Connected = False > >> ---- > >> > >> They are both set to use the scope simulator, for your scope you > > need to > >> replace "Scopesim.Telescope" with the ID for the driver for your > > scope, > >> if its the LX90 then I'd guess that it will be "Meade.Telescope", > > or > >> "LXP.Telescope" or MeadeEx.Telescope" > >> > >> Copy the text between the ---- lines to a file, save with the vbs > > extension. > >> SetPark.vbs will allow the park position to be set, Park.vbs allows > > it > >> to be parked. All depending on what these drivers have actually > > implemented. > >> Hope this helps. > >> > >> Chris > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1.XolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/skychart-discussion/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
