Equipment Report Program

This documents the options and operations of the equipment reporting program.

Sections

Basic Report Layout

The following is the layout of the sections of the equipment report. The command line options will use these terms when discussing the report.

Report Headings ...

Calibrated Equipment:
   Overdue calibrations
      ...
   Pending calibrations ...
      ...
   Other calibrations ...
      ...
Exceptions/notes
   ...
Other equipment
   ...

The "Calibrated Equipment" section contains information on all instruments requiring calibration. These are broken into 3 sections, those overdue for calibration, those pending calibration within some specified period of time and all other calibrated equipment.

The "Exceptions/notes" section contains issues which might have been uncovered in processing data for the first section. For example if there was an error reading a calibration file, the problem would be reported here.

The "Other equipment" section is an optional report of equipment which meets user supplied search criteria.

Command Line Options

Status Return Codes

Status return codes are:

Note that cyrius_cal_init invokes this program internally and returns these status codes. It also returns one other code
5 - Discovered versus actual odule mismatch.

Annotated Sample Execution

The following is an example command line with all options specified.

equipment_report -pending=30 -overdue -other_cals=false \
   -cal_dirs=/cell/aux_tables -object_types=object_types.txt \
   -testcellid=HTC205 -password_file=/home/user/files/password.bin \
   -excludes=excludes.dat -cyrius_cals=/cell/tables

Administrator Override

Administrators have the option of overriding the action that out of calibration errors will generate an abort termination code. If an administrator right-clicks on the "Done" button when a report is being displayed, a non-fatal termination code will be returned. However this requires that the administrator password must be entered correctly. If a password file has not been specified, this feature will not be available.