Table of Contents

Name

crate - CAMAC driver and crate controller service

Synopsis

crate [crate_number] [operation]

Description

Allows manipulation and viewing of crate controller and computer interface registers and tables in the device driver. The driver manages the crate controller so direct access by a program is not permitted.

Arguments

crate_number
The number of the crate to be accessed. This isn’t always used but must always be supplied. See below.
operation
See below.

Operations

set - set inhibit

crate # is not used but must be included
clr - clear inhibit

crate # is not used but must be included
z - init crate

crate # is not used but must be included
c - clear crate

crate # is not used but must be included

minor - minor device table

crate # is not used but must be included

ctable - read crate control table
csr - read crate csr reg
mask - read crate lam mask reg
pat - read crate lam pattern reg
rstr - restore crate controller context
This command restores all of the crate controller registers. For example, after a crate power off/on.

This can be useful in cases where you want to shut off the crate without stopping the control system. The crate may be turned off, changes made, and the crate switched back on. Next, issue this command and whatever context restoration is needed such as clearing the inhibit bit or programming the crate controller lam mask and enabling lams happens.

icsr - read interface csr
crate # is not used but must be included
imcr - read interface mcr
crate # is not used but must be included
issr - read interface ssr
crate # is not used but must be included
itcr - read interface tcr
crate # is not used but must be included
reset - reset the CAMAC interface board
crate # is not used but must be included

Notes

One might be able to argue that the arguments to the crate program should be reversed.

One might better argue that the program should be converted to long options.....

Examples

Manual page revision

$Id: crate.8,v 1.4 2008/01/24 15:27:57 kitchen Exp $


Table of Contents