52 Sectionfour-Functions - National Instruments GPIB-MAC User Manual

Table of Contents

Advertisement

November 1985
Pass Control
Specialized Controller function
Syntax: pet addr<CR>
Purpose: You use pet to pass Controller-In-Charge (CIC)
authority from the GPIB-MAC to some other device.
Remarks: The argument addr is the address of the device you wish
you wish to pass control to. addr consists of a primary
address and an optional address. The secondary
address is separated from the primary address by a plus
sign (+). Both address are expressed as numeric strings.
Only the lower five bits of each address are significant.
These bits may be in the range from 0 through 30 for
both the primary and the secondary address. Therefore,
the binary value 01100010 (decimal 98) is interpreted as
decimal 2.
The following examples all specify a primary address of
0 and a secondary address of 2. The listen address is
32, the talk address is 64, and the secondary address is 2
or 98, which are equivalent.
device specified by addr. The GPIB-MAC auto-
matically goes to Controller Idle State. It is assumed that
the target device has Controller capability.
If you call pet with an argument and the GPIB- MAC is
not CIC, it records the ECIC error.
If you call pet without an argument, the GPIB-MAC
records the EARG error.

52 SECTIONFOUR-FUNCTIONS

Advertisement

Table of Contents
loading

Table of Contents