Search found 263 matches

by Forum_2018
26 Dec 2018, 20:46
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

I copied it from the forum and then typed into my text editor and doubly reviewed it which I will do again as you say it runs. As of earlier this week while imaging I noted a rather reasonable pause using AA6 and Phd2 even without this script in a non hyperstar setup. I first became concerned when I...
by Forum_2018
26 Dec 2018, 20:45
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

Sorry but do you really need a script to so simple imaging task ? And so that dithering works with a pause ?
You could do just with normal AA imaging procedure and let it take care of dithering.
Besides now that AA7 has some sequencing properties.
But if it's just scripting exercise I understand.
by Forum_2018
26 Dec 2018, 20:44
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

Did you copy and past it from the forum into the script window? If not you may have typed it in with an error! I ran it with the camera simulator in AA7 and AA6 and it works fine. What ver. are you using?
by Forum_2018
26 Dec 2018, 20:44
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

I tried you little script. It fails on line 4. I have no idea why. It's a formatting issue I think. I tried fiddling with this, but have not worked out something that will work. Now I will be going to the library hoping to find some old books of basic. Two nights ago while imaging I noted a greater ...
by Forum_2018
26 Dec 2018, 20:44
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

I do that just for the output format, it places a space between the image name and sequence #. Without them the image would be titled M20003.fit instead of M20 003.fit
by Forum_2018
26 Dec 2018, 20:44
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

Iver; thanks I'll give it a try to night or tomorrow and report back by
Friday.
A question of ignorance: what do the quotation marks do? what is supposed to appear between the two quotes : filename=image+" "?
by Forum_2018
26 Dec 2018, 20:43
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

Re: script and phd pausing

Give this a try, I don't code either!

for i = 1 to 5
dir = "c:\Temp\"
image = "M20"
fileName = image + " " + Format (i,"000")+ ".fit"
camera.start(10)
camera.wait
Image.Save (dir + fileName)
Pause(10)
next i


Iver
by Forum_2018
26 Dec 2018, 20:43
Forum: Scripts
Topic: script and phd pausing
Replies: 8
Views: 4420

script and phd pausing

I have tried to make a script to get the camera to pause a bit while phd resets; the following works to allow a 10 second pause but will not save images to my directory; I am not a programmer by any means; dir$="c:\Temp\" imag$="m20" for i=1 to 5 camera.start(10) camera.wait Image.save("c:\autosave\...
by Forum_2018
26 Dec 2018, 20:43
Forum: Scripts
Topic: script commands documentation
Replies: 6
Views: 4229

script commands documentation

Does anyone know of a source that, in depth, describes the AA script commands? The AA7 manual lists many commands that I don't know how to use.

I found this: http://sintiniobservatory.interfree.it/ ... ns_ing.pdf
But this is from AA4 and a lot of commands has since been added.
by Forum_2018
26 Dec 2018, 20:42
Forum: Scripts
Topic: Is there a debayer function in teh script language?
Replies: 2
Views: 2074

Re: Is there a debayer function in teh script language?

Thanks Fabio,

That worked well.
by Forum_2018
26 Dec 2018, 20:42
Forum: Scripts
Topic: Is there a debayer function in teh script language?
Replies: 2
Views: 2074

Re: Is there a debayer function in teh script language?

Hi, not directly. You could enable the option "Demosaic on load" so that the images are demosaiced when you open them with the command: Image.Open If this is a single task, another solution is to convert (and debayer) all your images to FITS before running the script, using the option "Save all imag...
by Forum_2018
26 Dec 2018, 20:41
Forum: Scripts
Topic: Is there a debayer function in teh script language?
Replies: 2
Views: 2074

Is there a debayer function in teh script language?

Hi,

I am writing a script, that processes a bunch of fits files. They need to be saved as *.png.
Since the fits files originates from a Canon DSLR, I need to debayer the fits before saving as png.
Is that possible with AA7 scripting?