Define/Redefine/Undefine

A CAMAC module or VME board is made available to ONLINE.

def*ine /... device_name

Define introduces devices to ONLINE. The name of the device is associated with a module type and an address which identifies the module.

For VME there is a default configuration. Only the device name has to be specified on the command line. All other information is known to ONLINE by the name. Of course this works only, if the modules are correctly jumpered. The plug-and-play device names and the jumper settings are given below.

Define commands are needed only, if new hardware is installed. It is recommended to enter define commands by hand during an ONLINE session and then quit ONLINE in order have the new devices stored in the disk files.

/dev*ice= dev_type
/mod*ule= mod_type
The table in section [*] lists the available modules.

VME:
/ba*se= base_address
The base address. Mind that it may be supplied as a hex number, e.g. 0xf800.
/ve*ctor= vector_address
The vector address, for most devices it is 0.
/ch*annel= nch
The channel number.

CAMAC:
/cr*ate= ncr
The CAMAC crate number.
/sl*ot= nsl
The CAMAC slot number.
/ch*annel= nch
The channel number.

e.g.:
def/dev=motor/mod=e500/cr=1/sl=3/ch=0 mot1
def/dev=input/mod=1041/cr=1/sl=11/ch=0 i1

redef*ine old_name new_name

A device is renamed.

undef*ine [dev_name]

Dev_name is removed from the device list.

/nocon*firm
ONLINE does not prompt for confirmation.

/all
All devices are deleted.

Device names, e.g. mot1, refer to a default configuration. The command

def mot1
is equivalent to:
def/dev=stepping_motor/mod=oms58/base=0xf000/vec=0/chan=0 mot1

Chapter [*] gives details about the configuration of the VME modules and the PC cards.



Subsections