FORTRAN callable CAMAC standard subroutines. [Macro-11]
DeJuan Daniels, J Harrison, Thomas Kozlowski, Oothoudt, Dennis G. Perry · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · 1979
An implementation of the COMPUTER AUTOMATED MEASUREMENTS AND CONTROL (CAMAC) Standard Subroutines is presented. CAMAC is a hardware protocol for designing devices in a standard format and lay-out. The standard subroutines represent an effort to carry the standardization of CAMAC over to the programming to facilitate the generation of unambiguous and portable programs. The routines are written in Macro-11 and are designed to be callable from the FORTRAN languages supported on the RSX systems, that is, 11/M and 11/D. Four levels of subroutines are defined--Levels A, B, C, and system dependent. Level A, the simplist, consists of the primary subroutines. They provide the ability to define the CAMAC address of a CAMAC entity and the desired access to it. Level B provide single-action routines. Level C allows block transfers, multiple actions, and inverse declarations. The system dependent routines allow the programmer the flexibility to take advantage of the particular computer system that is being used. Segregating the computer specific routines allows the programmer, when necessary, to write truly portable programs that will be usable on any computer system that adheres to the standard.