![VXI GPIB-VXI Скачать руководство пользователя страница 65](http://html1.mh-extra.com/html/vxi/gpib-vxi/gpib-vxi_user-manual_1057860065.webp)
Chapter 3
Local Command Set
© National Instruments Corporation
3-23
GPIB-VXI User Manual
<ws error code>
is a decimal value that can be interpreted by converting it
to a binary bit pattern. A value of 1 in the bit positions shown in the following
table indicates that an error occurred during the attempt to broadcast the Word
Serial command:
Bit
Word Serial Error
0
Word Serial command completed successfully
(no Word Serial error)
1
Timeout waiting to send Word Serial command
to device at
<la>
2
Timeout waiting for Word Serial response from
device
at
<la>
3
Device
at
<la>
did not recognize the command
6
Multiple query error
10
Read Protocol error not supported
13
Read Ready (RR) violation
14
Write Ready (WR) violation
None of the other bits has significance in this context.
<ws error>
is a string explaining the Word Serial error as shown in the
previous table.
Example:
Broadcast
the
Identify Commander
Word Serial command to all top-level
commanders.
broadcast? 1,IDN
GrantDev?
Purpose:
Grant a servant to a commander.
Query
Syntax:
GrantDev? <commander's logical address>, <servant's
logical
address>
Action:
Grants the device at
<servant's logical address>
to device at
<commander's logical address>
.