source: BAORadio/libindi/v1/README.stv @ 612

Last change on this file since 612 was 490, checked in by campagne, 14 years ago

import libindi (JEC)

File size: 5.6 KB
Line 
1INDI STV Driver README.stv
22006-09-10, Markus Wildi
3
41) Credits:
5
6The initial work is based on the program STVremote by Shashikiran Ganesh.
7email: gshashikiran_AT_linuxmail_dot_org. The RS 232 initialization was
8programmed by Lukas Zimmermann and parts of the FLI CCD driver are reused
9and slightly adapted.
10
112) Development environment:
12
13I used INDI v 0.4 and kstars 1.2. kstars versions prior to 1.2 do not work
14with image download on PIII 800 MHz running Linux 2.6.16.5-default.
15
163) Known bugs:
17
18the connection hangs sometimes. At the startup of the driver
19the header or data check sum may fail. This condition is displayed in the
20client's log window and on the terminal where the INDI server has been started.
21Most of the time this is not a severe error condition.
22
23If something (foreseeable) goes severely wrong the stv driver does an _exit(1).
24
25The STV does not swallow commands at any speed. At many places there are usleep()
26function calls in the code which fit the above mentioned hardware configuration.
27Because they slow down the communication these settings are good for any faster
28configuration but may fail on slower/older ones. In case where the communication is
29degraded let me know it.
30
31There are some characters used on the STV's display used in tracking mode. I need
32a more or less clear night to translate them to readable characters on the client's
33display (as far as I remember the content is still readable).
34
354) Feedback: markus.wildi_AT_datacomm_dot_ch
36
376) ToDo:
38
39Image download: Set the correct window size according the information found in
40image info (e.g. image_info->height).
41
425) Recommended hardware set up for true remote operation:
43
44Use the STV driver together with the INDI v4ldriver and a video capture
45card to watch the LCD screen on the local computer.
46
476) Status:
48
49The INDI STV driver is an experimental release. Experimental means that it may
50hang (despite not often). The terminal where you started the INDI server
51process will sometimes show messages (on stderr) which can only be understood
52if one reads the source code (search for parts of the message).
53
54The current version is basically a mirror of the STV's built in functions. These
55primitives can be used in different ways to enhance the versatility of the STV.
56There are two examples on the tab Settings:
57
58 1) set current time (UTC) (time may differ, because it takes a while until it
59    is set and the seconds can only be set in steps of 15 seconds).
60 2) set the ccd temperature
61
62E.g. The STV forgets the time and temperature settings and they must be
63entered at each power up.
64
65A farther reaching example: imagine using the STV remotely and without video
66capture card. The focusing process of the STV might render impossible. I
67think an automated process together with an a INDI focuser driver should do
68that work autonomously.
69
70These two examples are implemented in two different ways. Time set is done
71"blindly". That means the buttons and the rotary knobs (better the software
72equivalents) are used without any feedback from the STV. The ccd temperature
73reads the display and stops when the desired temperature appears.
74
757) Before you start:
76
77If you want to use the INDI STV driver, please refer to the SBIG STV manual
78first.  The INDI STV driver is basically a remote front end to your fingers
79with additional features.
80
81Please note that the buffers are labeled as 1 to 32. Buffer number 32 is the
82LCD screen buffer. Despite SBIG's manual says so, accessible are only buffers
831 through 14 and 32 (at least I found no way to store images e.g. in buffer
8420).
85
868) Recommended approach:
87
88Put the STV hardware on your desk an connect it to the computer where the
89INDI server and client run.
90First do basic things like changing settings on the STV using the INDI client
91(tab Buttons and Knobs). Compare the results on the STV display with the
92results on the INDI client. The STV's two line display should be always
93synchronous with the INDI client display.
94Then try to take an image which is finally displayed on the STV's LCD screen
95and try to download it to the INDI client using the default settings on the
96tab Image Download.
97
989) What is not possible:
99
100A mixed operation, that is some commands entered at the STV box and some
101entered via the INDI STV driver, is hardly possible. There is no way how one
102can retrieve the current status of the STV besides monitoring the display of
103the STV.
104
10510) What is not supported:
106
107The meta data of images, e.g. offset, taken in mosaic mode are not read
108out currently.
109
11011) Features:
111
112STV's display is reproduced on each tab for convenience.
113
114Connection tab
115
116Set the device and the speed (9600, 19200, 38400, 57600 and 115200).
117Start/stop update clients display.
118
119Settings tab
120
121Set the time to UTC.
122Set the CCD temperature.
123
124Buttons and Knobs tab
125
126All STV's buttons and knobs are supported. Basically you can use the STV driver
127as if you were sitting in front of the box.
128The names and groups are identical to what is printed on the STV's box.
129The labels of up/down left/right of the rotary knobs are replaced by Increase and
130Decrease in both cases.
131
132Warning: Do not change the STV's speed with File Ops menu. The communication
133will stop.
134
135Download
136
137Buffers Status: get a quick overview which buffers are used or empty.
138
139The meta information about one image or all images are available and printed in
140the log window.
141
142The buffer on which the buttons One Image (Information and Download) operate on
143can be selected.
144
145The download of one or all images can be initiated either in un- or compressed
146mode.
147
148An arbitrary window can be set on the original window. This speeds the download
149considerably and is e.g. useful if you want to inspect a single star image.
Note: See TracBrowser for help on using the repository browser.