#include "azcam.h"
Functions | |
| int | CloseConnection (azcam_t *cam, char *reply) |
| Close the AzCam Server Connection. | |
| int | RunScript (azcam_t *cam, char *script, char *reply) |
| Execute an AzCam command script on the server. | |
| int | SetParameter (azcam_t *cam, char *keyword, char *value, char *comment, char *reply) |
| Set a FITS card in the AzCam server's header database. | |
| int | GetParameter (azcam_t *cam, char *keyword, char *value, char *reply) |
| Get the value of a FITS card in the AzCam server's header database. | |
| int | ClearParameter (azcam_t *cam, char *reply) |
| Clear the AzCam server's FITS header database. | |
The following are a suite of interface functions that provide access to all of the AzCam Server control and database functions.
Most function names recapitulate the analogous AzCam server commands, while others serve as "meta" functions that encapsulate a number of AzCam commands under a single logical function.
All routines call the communication layer routines in iosubs.c to take care of common handling of timeout, errors, and reply processing.
All of the server control and database commands documented in Sections 6 and 7 of the AzCam Programmers Reference Manual have been implemented.
A new function
ClearParameter()has been defined to implement the "SetParameter CLEARALL ..." command.
|
||||||||||||
|
Close the AzCam Server Connection.
|
|
||||||||||||||||
|
Execute an AzCam command script on the server.
|
|
||||||||||||||||||||||||
|
Set a FITS card in the AzCam server's header database.
This feature of AzCam is somewhat inflexible in that all parameters are treated as string type FITS header keywords. A sensible AzCam client application will employ a postprocessing routine to launder the non-standard FITS headers coming from the AzCam server into more conventional form.
|
|
||||||||||||||||||||
|
Get the value of a FITS card in the AzCam server's header database.
Note that the AzCam server stores all user-defined header parameters as strings. The calling application will need to translate that string into the appropriate data type (int, float, boolean, or string) as required.
|
|
||||||||||||
|
Clear the AzCam server's FITS header database.
|
1.4.2