ESO-MIDAS
Environment Document
HOME
INDEX
SEARCH
HELP
NEWS
ESO-MIDAS Environment Document
Revision 1.3, June 1, 1995
Reference Number: MID-SPE-ESO-11000-0001/1.3
Change Record
Issue
Date
Sections affected
Remarks 1.0
1.1
1992-11-01
all
1.2
1994-05-01
all
Change of
long
to
int
Graphics Interfaces added
Applicable from 94MAY release
1.3
1995-06-01
Chapter 6
Communication interfaces added
Table of Content
Preface
The MIDAS System
Coding Standards for MIDAS
General structure
Release Directory Structure
File/extension names
Code Standards
General
Coding rules
C code
FORTRAN code
MIDAS procedures
Library references
Installation
Code Documentation
Documentation
Code headers
Help-file syntax
AAREADME and DESCRIPTION files
User manuals
Standard Interfaces for Application Programs
Symbolic names
Access to the MIDAS Environment
Initialize and connect to the environment
Disconnect from the environment
Error Processing
Control exception and error handling
Signal an error from a subroutine
Display error message and abort
Keywords
Read value(s) from keyword area
Write value(s) to keyword area
Get information about keywords
Creating keywords
Text
Display text on terminal
Display text with special characters on terminal
Bulk Data Frames
Create a Bulk Data Frame on disk
Open a Bulk Data Frame
Access Mode
Close a Bulk Data Frame
Delete a Bulk Data Frame
Rename a Bulk Data Frame
Get information about a Bulk Data Frame
Map a Bulk Data Frame for reading and/or writing
Unmap a Bulk Data frame
Disk I/O for reading and/or writing data
Descriptors
Read descriptor value(s)
Write descriptor value(s)
Delete a descriptor
Get descriptor information
Copy a descriptor
Catalogues
Create a catalogue
Add/Subtract an entry to/from a catalogue
Get entries from a catalogue
List the contents of a catalogue
Find an entry in a catalogue
Get information about a catalogue
Images
Read image frame and standard descriptors
Create image frame and standard descriptors
Table Interfaces
Table File Access
Create a new table
Open an existing table
Table Columns
Create one or more columns
Column labels and numbers
Delete a column
Table Elements, Arrays and Rows
Read and write a Table Element
Read and write Table Array Elements
Read and write a Table Row
Table Descriptors
Select a Table Subset
Sorting and Searching
Close a Table
Graphics Interfaces
Introduction
Set up the graphics characteristics: graphics keywords
Open a device
Plot a coordinate box
Plot data
Plot text
Get the graphics cursor
Close the viewport
Communication Interfaces
Connecting to a MIDAS server
Executing Commands
Accessing Keywords
Building a MIDAS Client Application
On-line MIDAS
Integrating a MIDAS Application
Introduction
General Hints
Include files and the common block
VMR
Fixed Keywords
Keywords OUTPUTI, OUTPUTR, OUTPUTC, OUTPUTD
Descriptor HISTORY
Descriptor LHCUTS
Table Rules
Error Handling
MIDAS Libraries
Integrating a MIDAS Application
Fortran example
C example
Running a MIDAS application
Debugging a MIDAS application
Integrating a MIDAS Context
References
Standard Interfaces
Table Interfaces
Graphics Interfaces
Communication Interfaces
Standard Descriptors and Column Names
Descriptors
Bulk Data Frames
Tables
Label Names of Columns
Application Program Examples
Examples Using Image Data
An Application in FORTRAN
An Application in C
Examples Using Table Data
A Table Application in Fortran
A Table Application in C
Examples Using the Graphics Interfaces
A Fortran Application
A C Application Using Graphics Interfaces
Examples Using the Communication Interfaces
An interactive Midas client (written in C)
MIDAS Help files
Index
About this document ...