ICEINSPACE
Moon Phase
CURRENT MOON
Last Quarter 50.5%
|
|

10-05-2013, 11:27 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
Hi John,
try this script with your gemini driver. it doesn't do anything with the capture, so you'll have to start that manually after running this.
it won't bring up any window, but you should see the RA change.
its the same eqmod script I mentioned earlier, but I've added the geminitelescope object.
in theory it should work if I got the object name correct.
just save the attached file, rename to .vbs and run it. watch the RA values, it should increase and then decrease or vice versa.
if it works, just create copies of the file and edit the 60 to whatever you want. just use half the value. so if you want 30secs, use the value 15.
this works fine for the eqmod driver. But I'll be trying out Robins app. that's way better. didn't get a chance last night.
Cheers
|

10-05-2013, 12:51 PM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
Quote:
Originally Posted by troypiggo
|
Hi Troy,
That is a cool script, I'm still trying to understand how it works, will try it and let you know.
Thanks
|

10-05-2013, 03:15 PM
|
 |
Bust Duster
|
|
Join Date: Nov 2008
Location: Brisbane, Australia
Posts: 4,846
|
|
Yeah, sorry about that. I'll have a play on the weekend and try to document better. I think most instructions were in the script text comments.
|

11-05-2013, 12:06 AM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
Quote:
Originally Posted by alistairsam
try this script
|
Al, what is timer in your script :
endtime = timer + 60
It's not initialised or dimensioned, is it built into windows script?
Also doing a loop like that drives the cpu to 100%. You're better off with a sleep command. WScript.Sleep(60) That pushes it into the background.
Did that C# app work ok on your eq6?
|

11-05-2013, 01:53 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
Hi Robin,
i have no idea.
I found it at the bottom of this page.
http://eq-mod.sourceforge.net/tutindex.html
the ccd align script and I just adjusted the time. it works for me with cpu at 5%. so not sure why its 100%
nope, haven't had the chance to try the c#app with the eq6 yet. hoping for some clear skies tomorrow or will test it indoors and let you know.
Thanks
Alistair
|

11-05-2013, 02:04 AM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
Loops make the cpu shift data in/out continuously.
If you got an i7 there are 8 execution threads on 4 cpus so you should see 12% usage.
One execution thread should be flat out.
But the similarity between theory and practice is purely coincidence
|

11-05-2013, 10:23 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
so would the WScript.Sleep(60) solve the issue as you'd suggested?
I'd very likely be using your c# app with eqmod if there are no errors, but since John's v1 driver doesn't work with the app, I thought the script might be an alternative for him.
Cheers
Alistair
|

11-05-2013, 10:32 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
would this be correct?
|

11-05-2013, 11:43 AM
|
 |
Bust Duster
|
|
Join Date: Nov 2008
Location: Brisbane, Australia
Posts: 4,846
|
|
I've taken my script down. Had an error that I need to look at before public use.
|

11-05-2013, 03:49 PM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
It's not that important Al but that should do the same thing.
According to the gemini group you can't just shoot any old numbers at the driver using moveAxis. You have to read the AxisRates collection to see what it supports and only shoot one of those numbers at it. http://www.ascom-standards.org/Platf..._AxisRates.htm
Don't be like that Troy, everyone enjoys a sold crash every now and then
|

11-05-2013, 05:26 PM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
John,
Can you get this app, install and run it. It connects to the G11 driver, asks it for it's RA axis rates, dumps the info to a text box. Can you copy paste that to notepad or something. I need to see what comes back from it.
http://starshed.net/temp/axistest.zip
|

12-05-2013, 05:59 PM
|
 |
Registered User
|
|
Join Date: Apr 2011
Location: Kinglake West
Posts: 717
|
|
Hi Robin,
attached is the AxisRates.
Alistair,
Your script returns the following error
MoveAxis set - 'axisPrimary' is an invalid value. The valid range is :guiding, centering, or slewing speeds.
Cheers
|

12-05-2013, 09:05 PM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
Cheers John, That's what I thought would come back and peter ran it on his titan and got a similar response. The way gemini works is the user sets these rates in the gemini driver as guiding, centering and slewing speeds so they can change depending on what the user has set them too. Gemini won't accepts any other rates. I've altered the app and if it sees rates with a minimum = maximum it scrolls through all the rates and picks the slowest rate figure. I told it to pop a box and tells you it has found a gemini so you'll know if it picked it up.
You can get v1.0.5 from the same place. I'd uninstall the old one before installing the new one. I'm not sure how visual studio creates these install scripts so it would be best to uninstall first. Also uninstall that axis test. Hopefully this one will work on gemini.
One point, to stop the scope movement I send it a zero in the moveaxis command. Theoretically it should reject a zero as it's not in the list of accepted rates. If this will crash it, it will do it at the end of the run.
|

13-05-2013, 09:46 AM
|
 |
Registered User
|
|
Join Date: Apr 2011
Location: Kinglake West
Posts: 717
|
|
Thanks Robin,
I will give it a go tonight.
Cheers
|

13-05-2013, 11:23 PM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
Does this work for anyone?
It looks like a great method which is why I spent time doing it.
It's been raining here for days so I can't try it and I'm just guessing at the numbers
|

14-05-2013, 01:35 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
|
|
Hi Robin,
I'm just trying to fix my windows permission issues. will then try it out and let you know.
not sure about others, but for me and I'm sure John and I'm guessing Meru, this would definitely simplify polar alignment.
Cheers
Alistair
|

14-05-2013, 01:45 AM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
It's just always **** outside here Al. I think all of queensland will become one giant rain forest, or swamp.
I have managed to rebuild my bmw K100RS instrument cluster to tonight
And I got a jack for the bike
http://starshed.net/K100RS/Jack.jpg
|

14-05-2013, 09:49 AM
|
 |
Registered User
|
|
Join Date: Apr 2011
Location: Kinglake West
Posts: 717
|
|
sorry Robin,
I didn't test it last night. It was a cold, wet and windy night here last night and I didn't venture outside once I got home next to the fire.
Great looking jack. Should make life a bit easier.
Cheers
|

15-05-2013, 12:04 AM
|
 |
Registered User
|
|
Join Date: Apr 2011
Location: Kinglake West
Posts: 717
|
|
Hi Robin,
Tried V1.05 tonight but still getting error popups. The camera operation works fine. but as soon as the 5secs are up I get error messages about not being able to set rates.
Cheers
|

15-05-2013, 09:02 AM
|
 |
Registered User
|
|
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
|
|
Bugger, I can see I'll need a gemini. I've pm'ed you john.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +10. The time is now 09:21 AM.
|
|