Leisure Time 4. LX200 Demo Program, counter =, ON KEY12 GOSUB key12 KEY13 ON ONKEY13GOSUBkey13

Models: LX20

1 65
Download 65 pages 13.16 Kb
Page 57
Image 57
4. LX200 Demo Program

5 8

4. LX200 Demo Program

The RS-232 interface communicates with your computer at 9600 Baud Rate, Parity = None, 8 Data Bits, 1 Stop Bits. For those who are familiar with programming, the LX200 Command Set is written in ASKII character format and can be used to write your own programs.

The LX200 Demo Program on the following pages, is written in Quick Basic and is intended to demonstrate how commands are sent to the telescope and information is received from the telescope. It is not a "polished" program and does not incorporate all of the RS-232 features available.

The program is set-up to operate on serial port 2 (COM2:). To operate on serial port 1 (COM1:) line 4 should be changed from "COM2:" to "COM1:." The program is as follows:

CIS

DEFINTA-X

counter = 0

OPEN "COM2:9600,N,8,1,CDO,CSO,DSO,OPO,RS,TB2048,RB2048"

FOR RANDOM AS #1

KEY ON

KEY(1)ON

KEY 1, "GOTO":

ONKEY(1) GOSUB key1

KEY(2)ON

KEY 2, "SYNC"

ON KEY(2) GOSUB KEY2

KEY(3)ON

KEY 3, "SLEW"

ON KEY(3) GOSUB key3

KEY(4)ON

KEY 4, "FIND-

ON KEY(4) GOSUB KEY4

KEY(5)ON

KEYS, "CNTR"

ON KEY(5) GOSUB KEYS

KEY(6)ON

KEY 6, "GUIDE"

ON KEY(6) GOSUB KEY6

KEY(11) ON

ON KEY(11) GOSUB key1

KEY(12)ON

ON KEY(12) GOSUB key12

KEY(13) ON

ONKEY(13)GOSUBkey13

KEY(14) ON

ON KEY(14) GOSUB key14

GOSUB status

GOSUB key3

GOSUB help 20

GOSUB telpos

GOSUB OBDRAW GOSUB TIME 50 key$ =

INKEY$: IF key$ = "" THEN GO TO 20

Please note that Meade Instruments does not support these programs, or programs that you may write in any way. For questions relating to after-market software programs, refer back to those manufacturers.

Meade does recommend and support our Epoch 2000sk software package which is fully compatible with the LX200 telescope (Fig. 30). This program presents on the display of a personal computer an incredibly detailed simulation of the entire sky, including up to 281,000 celestial objects

Epoch 2000 allows the presentation of the most complex starfields just as they actually appear through the telescope. This software is available for Windows 3.1 or higher, including Windows 95.

Page 57
Image 57
Leisure Time instruction manual 4. LX200 Demo Program, counter =, ON KEY12 GOSUB key12 KEY13 ON ONKEY13GOSUBkey13