Search found 275 matches

by Forum_2017
11 Dec 2018, 16:55
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

Fabio,
The SQM runs at a baud of 115200, Is there a way to change AA6 *serial.send/receive to work at another baud rate?

Regards
by Forum_2017
11 Dec 2018, 16:54
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

If all else fails Keith and the simple solution of changing the baud rate within an AA6 script is not easy, I will write an exe that you can run using : System.Execute("scripts\Sqm.exe rx reply.txt") Bit like the PHD2 guiding interface. You could also mess about with the commands... sqmcmd = "ix" Sy...
by Forum_2017
11 Dec 2018, 16:54
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

Hi all have tried all as requested and not got anywhere I think this maybe something to do with port settings - I had a reply from the unihedron guys the gist of which is below "It would be much better to have the Astorart script set the baud rate to 115200, because if the SQM is set to 9600, then o...
by Forum_2017
11 Dec 2018, 16:54
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

sub WaitForOutput() tx = 0 While rx = "" and tx < timeout rx = Serial.Recieve() Pause(1) tx = tx +1 End while End sub You need to wait for the reply to come back due to the time the internal chip takes to average the readings. So add a wait for reply subroutine like the above after sending the messa...
by Forum_2017
11 Dec 2018, 16:54
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

Hi Thanks for the reply I will what you have suggested asap I think from a previous reply from the SQM guys that I cannot change the port settings but will investigate that and confirm I also think this is some info that the "port controller" manages the port settings but again it is not proven Onwa...
by Forum_2017
11 Dec 2018, 16:53
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Re: Read data from SQM-LU device

Hello, something I would try: 1) Connect to the hardware using a serial port terminal (for example: PuTTY) and verify the connection: https://www.youtube.com/watch?v=dO-BMOzNKcI 2) Place a Pause between .Send and .Receive (the pause after Connect is not needed). 3) Check if the hardware supports 960...
by Forum_2017
11 Dec 2018, 16:53
Forum: Scripts
Topic: Read data from SQM-LU device
Replies: 11
Views: 5407

Read data from SQM-LU device

Hi newbie here so gentle please. I have Astroart 6 with SP2 and using Camera Control 6 and 6.2 beta. I am on a steep learning curve with my newly aquired telescopes/mounts etc. As an aside (I used to work in Automation/MES in the pharmaceutical industry as a software developer - now retired) I thoug...
by Forum_2017
11 Dec 2018, 16:51
Forum: Scripts
Topic: Detecting daytime and nighttime
Replies: 1
Views: 3483

Re: Detecting daytime and nighttime

> when it's 15 degrees below the horizon then it's surely night.

Nope!

18 degrees below is the official start of astronomical darkness.

Civil, Nautical and Astronomical twilight are each 6 degrees, hence astronautical night starts at -18 degrees.

Andrew
by Forum_2017
11 Dec 2018, 16:51
Forum: Scripts
Topic: Detecting daytime and nighttime
Replies: 1
Views: 3483

Detecting daytime and nighttime

Hello, I've been asked the simplest way to detect daytime and nighttime, for automatic research scripts. Instead of looking at the current time, I think that it's better to check the altitude of the sun: when it's 15 degrees below the horizon then it's surely night. A possible implementation would b...
by Forum_2017
11 Dec 2018, 16:50
Forum: Scripts
Topic: Simple script for taking LRGB
Replies: 2
Views: 1829

Re: Simple script for taking LRGB

For example:

fileName = object + filter + Format(i,"000") + "_" + str(exposure) + "_B" + str(binning) + ".fit"
by Forum_2017
11 Dec 2018, 16:49
Forum: Scripts
Topic: Simple script for taking LRGB
Replies: 2
Views: 1829

Re: Simple script for taking LRGB

Tried this last night.
How do I add binning and exposure in file name + "-" or "_" as well ?
by Forum_2017
11 Dec 2018, 16:49
Forum: Scripts
Topic: Simple script for taking LRGB
Replies: 2
Views: 1829

Simple script for taking LRGB

Hello, I have been asked the simplest script to take L,R,G,B images, where the L is in binning 1x1 and the others in 2x2. Here is a solution which takes 3 red, 3 green, 3 blu in binning 2x2, then 6 lum in binning 1x1. It can be tested indoor with the camera and filter wheel simulators. Remember to c...