Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #41  
Old 10-05-2013, 11:27 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
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
Attached Files
File Type: txt CCDDriftAlign-gemini.txt (611 Bytes, 21 views)
Reply With Quote
  #42  
Old 10-05-2013, 12:51 PM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
Quote:
Originally Posted by troypiggo View Post
Here's a link to the VBS I was talking about above. I haven't played with it for a while. Will fire up the simulator to refresh my memory some time shortly.

https://www.dropbox.com/s/dm9z6naujejccfw/DriftMax.vbs
Hi Troy,

That is a cool script, I'm still trying to understand how it works, will try it and let you know.

Thanks
Reply With Quote
  #43  
Old 10-05-2013, 03:15 PM
troypiggo's Avatar
troypiggo (Troy)
Bust Duster

troypiggo is offline
 
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.
Reply With Quote
  #44  
Old 11-05-2013, 12:06 AM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
Join Date: Apr 2008
Location: Wynnum West, Brisbane.
Posts: 4,166
Quote:
Originally Posted by alistairsam View Post
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?
Reply With Quote
  #45  
Old 11-05-2013, 01:53 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
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
Reply With Quote
  #46  
Old 11-05-2013, 02:04 AM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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
Reply With Quote
  #47  
Old 11-05-2013, 10:23 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
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
Reply With Quote
  #48  
Old 11-05-2013, 10:32 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
Join Date: Nov 2009
Location: Box Hill North, Vic
Posts: 1,838
would this be correct?
Attached Files
File Type: txt ccddriftalign-gemini3.txt (519 Bytes, 13 views)
Reply With Quote
  #49  
Old 11-05-2013, 11:43 AM
troypiggo's Avatar
troypiggo (Troy)
Bust Duster

troypiggo is offline
 
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.
Reply With Quote
  #50  
Old 11-05-2013, 03:49 PM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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
Reply With Quote
  #51  
Old 11-05-2013, 05:26 PM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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
Reply With Quote
  #52  
Old 12-05-2013, 05:59 PM
scagman's Avatar
scagman (John)
Registered User

scagman is offline
 
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
Attached Files
File Type: txt AxisRates.txt (232 Bytes, 19 views)
Reply With Quote
  #53  
Old 12-05-2013, 09:05 PM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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.
Reply With Quote
  #54  
Old 13-05-2013, 09:46 AM
scagman's Avatar
scagman (John)
Registered User

scagman is offline
 
Join Date: Apr 2011
Location: Kinglake West
Posts: 717
Thanks Robin,

I will give it a go tonight.

Cheers
Reply With Quote
  #55  
Old 13-05-2013, 11:23 PM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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
Reply With Quote
  #56  
Old 14-05-2013, 01:35 AM
alistairsam's Avatar
alistairsam
Registered User

alistairsam is offline
 
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
Reply With Quote
  #57  
Old 14-05-2013, 01:45 AM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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
Reply With Quote
  #58  
Old 14-05-2013, 09:49 AM
scagman's Avatar
scagman (John)
Registered User

scagman is offline
 
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
Reply With Quote
  #59  
Old 15-05-2013, 12:04 AM
scagman's Avatar
scagman (John)
Registered User

scagman is offline
 
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
Reply With Quote
  #60  
Old 15-05-2013, 09:02 AM
Tandum's Avatar
Tandum (Robin)
Registered User

Tandum is offline
 
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.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 09:21 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement