12. Report Usage

12.1. Invoking Reports

dbreport <report_type> <report_arg>

Alarms

List the interlock records.

CM

List the CAMAC modules.

key <arg>

List records of <arg> Key table. (e.g. RefKeys)

msg <arg>

List records of <arg> Message table. (e.g. MsgTbl)

Label

List major database fields, sorted by Label, Desc.

RecId

List records of the DataRec table sorted by RecId.

Module

List records of the DataRec table sorted by Module Address.

mb

List the database scaling coefficients.

lim

List the database spans and limits.

JackRec

List records of the JackRec table.

RPrecord

List records of the RPrecord table.

Zrecord

List records of the Zrecord table.

type

List valid values of <arg> for generating wiring reports. These values are contract dependent.

Example: 'C1I1' means Crate 1, Interface 1.

Buss <arg>

Generate Buss connection list.

Buss2 <arg>

Generate Buss2 connection list.

Rpanel <arg>

Generate rear panel to Z pin wiring list.

Zpanel <arg>

Generate Z pin to rear panel wiring list.

composite <arg>

Generate a composite of Buss, Buss2, Rpanel, and Zpanel wiring lists.

12.2. Printing Reports

Most reports generate a file with a name of the form <report_type>.lst where <report_type> is the argument to dbreport. All reports are stored in $LST, which can be expanded to /AccelNET/pg/$CONF/lst/. For example "Label.lst" is the report file from "dbreport Label". The report may be printed by using the command "lp <arg>" where <arg> is the name of the report file.