2-13 SRQ and Status Byte Commands
Programming with GPIB Commands
2-38
PN: 10370-10374 Rev. F
MG369xC GPIB PM
The MG369xC has a software mask that permits manipulation of the three status bytes over the bus.
This manipulation is accomplished by sending the command codes
MB0
,
MB1
,
MB2
, or all three at once,
followed by an argument that assigns an on/off condition for each bit in the byte. Two examples are
shown below:
Example #1:
"MB2" (CHR $(24))
Sets bits 3 and 4 in Mask Byte 2 to 1 and all other bits to 0, thus enabling bits 3 and 4 in
Extended Status Byte 2 to be read from the bit 7 position of the Primary Status Byte.
Example #2:
"MB2" (CHR $(12))
Sets bits 2 and 3 in Mask Byte 2 to 1 and all other bits to 0, thus enabling bits 2 and 3 in
Extended Status Byte 2 to be read from the bit 7 position of the Primary Status Byte.
Figure 2-11.
Status Byte Mask Programming Examples
Summary of Contents for MG369 C Series
Page 2: ......
Page 6: ...Contents 4 PN 10370 10374 Rev F MG369xC GPIB PM ...
Page 262: ...A 34 PN 10370 10374 Rev F MG369xC GPIB PM ...
Page 264: ...Index 2 PN 10370 10374 Rev F MG369xC GPIB PM ...
Page 265: ......