Installation manual

Model 8210A-2-5 IM-377
Aeroflex / Weinschel
27
ADDR? Function: Reads the Device Interface Bus address assigned to a device.
Syntax: This command has two forms: ADDR? devname
ADDR? model id
Argument(s): devname string10 assigned device name
or
model string8 device model
id integer32 device serial number/id
Remarks: This function is used to read the address assigned to the specified device
during the configuration process.
Return Value: addr integer address
Example(s): ADDR? AT1 returns ’2’
ADDR? 150T-11 103 returns ’2’
ISPRESENT? Function: Checks for presence of a device
Syntax: ISPRESENT? [type] name
Argument(s): type optional string literal (DEVICE, ATTN, or SWITCH)
name string10 device name (physical or virtual)
Remarks: This function is used to check for the presence of a physical or virtual device. If
the device specified by name is installed and configured, the query returns a ’1’, otherwise it
returns a ’0’. The optional type parameter may be used to qualify a specific type of device. If type
is not specified, then the name will be searched in the list of attenuators, switches, and devices, in
that order.
Return Value: flag integer name found
Example(s): ISPRESENT? AT1 returns the following ’1’
ISPRESENT? SWITCH AT1 returns a ’0’ if AT1 is assigned to an attenuator,
not a switch