GPRM(1) COMMAND REFERENCE GPRM(1)
NAME
gprm - remove GPIB instrument
SYNOPSIS
gprm device
DESCRIPTION
Gprm removes the specified GPIB device(s) from the
configuration. If device is an interface (gpibn), any
attached instruments are removed first.
If you physically remove a device from the bus by
disconnecting its GPIB cable and and fail to use GPRM, the
workstation thinks the device is still on the bus. When the
workstation then goes out to service an SRQ, it will poll
all the instruments it thinks are there, and that will hang
the program because the workstation can't read a status byte
from the device that has been removed.
EXAMPLES
Remove the device ``fg5010'' from the configuration.
$ gprm fg5010
fg5010 removed
FILES
/etc/gpibconf current configuration
/etc/gpibnew temporary file
/dev/gpibn GPIB interface device
/dev/gpidn GPIB configuration device
/dev/instrument GPIB instruments
DIAGNOSTICS
device removed The named device has been removed from the
configuration.
Other messages are system errors. See intro(2) for more
information on these.
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
Printed 10/17/86 1
GPRM(1) COMMAND REFERENCE GPRM(1)
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
gpconf(1), gpinit(1), gpstat(1), gpib(4), gpid(4), gins(4),
config(8).
Printed 10/17/86 2
%%index%%
na:72,65;
sy:137,111;
de:248,744;
ex:992,167;
fi:1159,405;
di:1564,289;
rv:1853,336;2333,455;
se:2788,256;
%%index%%000000000140