473,473 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Python module for LX200 telescope command set

I've begun a Python module to provide a complete interface to the Meade
LX200 command set:
http://rjs.org/Python/LX200.py
and would like input from potential users or people interested in
developing it further.
The code I have online is a very alpha start - it contains all of the
command set, parsed from
http://www.meade.com/support/LX200CommandSet.pdf
reg-exp'd into methods, but few methods are actually complete yet.
My thinking is to have it useful for Python command line testing, as well
as GUI programs.

History: after searching for such a thing, I had found only:
http://72.14.203.104/search?q=cache:...s&ct=clnk&cd=1
from University of Durham, but the code is not available...
and
http://cvs.sourceforge.net/viewcvs.p...200.py?rev=1.4
from the Galileo project, but which only has a subset and is aimed at their
needs, mostly. Some of the Galileo code looks useful, and so I might want
to make use of at least some of the methodology, even if only to get their
interest as well.

Current input I would most like is on module structure and Pythonic-ness:
-Only one class, or two?
I was considering splitting the commands into two classes: Telescope and
Library, as either could be used without the other for a scope session. (If
you have large libraries on your PC, you do not need the LX one - or if you
don't, or have a PDA, then just doing a Library lookup alone might be useful.)
If you were to "import LX200", how would you expect it to work?

-Should I have module methods, as I do? (Galileo uses some static methods)

-What constants might be useful to define?

-When should the com port be opened/tested? (I have it on init...)

-What about the class names?

It is already ~1200 lines code and comments, even without most of the
commands actually useful yet, and so I'd like to get a good form started
before getting too far along.

Is anyone here interested in using such a module, or willing to critique?

Thanks,
Ray
arr-ayy-why-ess at blue-cove.com

Jan 30 '06 #1
1 4839
[RayS]
I've begun a Python module to provide a complete interface to the Meade
LX200 command set:
and
History: after searching for such a thing, I had found only:
http://72.14.203.104/search?q=cache:...s&ct=clnk&cd=1

from University of Durham, but the code is not available...
and
http://cvs.sourceforge.net/viewcvs.p...200.py?rev=1.4
from the Galileo project, but which only has a subset and is aimed at
their needs, mostly. Some of the Galileo code looks useful, and so I
might want to make use of at least some of the methodology, even if only
to get their interest as well.


Do you know about ASCOM?

"The primary goal of the ASCOM Initiative is to provide software driver
technology that will help bring about a rebirth of science in amateur
astronomy by making instruments scriptable via standard low-level
scripting interfaces."

http://ascom-standards.org/faq.html

IIUC, ASCOM is a set of Windows COM objects which provides a
standardised API for controlling telescopes. Since it uses Windows COM,
you should be able to control it easily from python using the excellent
win32 extensions.

Python for Windows Extensions
http://starship.python.net/crew/mhammond/

From this page

http://ascom-standards.org/nr-11Jun01.html

comes the statement

"""
Telescopes currently supported are the Meade LX200 and Autostar,
Celestron NexStar, Vixen SkySensor 2000, Software Bisque Paramount (via
TheSky), a number of mounts that support subsets of the LX200 serial
protocol (Astro-Physics, Bartels, etc.), and many research-grade
telescopes that use the Astronomy Control Language (ACL). Products that
support telescope control via ASCOM are Starry Night by SPACE.com, MaxIm
DL V3 by Cyanogen Productions, and ACP2 by DC3 Dreams.
"""

HTH,

--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan
Jan 31 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
2
by: satish | last post by:
Hello all, I have a shared object executable viz. *cable* which I execute as follows : $ ansyscust71 -custom cable -p ANSYSRF **ansyscust71 is a shell script and is a part of a software...
4
by: lebo | last post by:
Hi I'm trying to understand how Python handles memory usage and dynamic object loading and unloading. Problem to solve? Build a very low memory footprint (non-GUI) Python application for...
5
by: Ron Adam | last post by:
Hi, I'm having fun learning Python and want to say thanks to everyone here for a great programming language. Below is my first Python program (not my first program) and I'd apreciate any...
75
by: Xah Lee | last post by:
http://python.org/doc/2.4.1/lib/module-re.html http://python.org/doc/2.4.1/lib/node114.html --------- QUOTE The module defines several functions, constants, and an exception. Some of the...
2
by: Xah Lee | last post by:
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in Python i quickly located the...
0
by: RJS | last post by:
I've begun a Python module to provide a complete interface to the Meade LX200 command set: http://rjs.org/Python/LX200.py and would like input from potential users or people interested in...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 349 open ( +7) / 3737 closed (+25) / 4086 total (+32) Bugs : 939 open (-12) / 6648 closed (+60) / 7587 total (+48) RFE : 249 open...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.