:BUS<n> Commands 9
Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide 329
:BUS<n>:MASK
(see page 1610)
Command Syntax
:BUS<n>:MASK <mask>
<mask> ::= 32-bit integer in decimal, <nondecimal>, or <string>
<nondecimal> ::= #Hnn...n where n ::= {0,..,9 | A,..,F} for hexadecimal
<nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal
<n> ::= An integer, 1 or 2, is attached as a suffix to BUS
and defines the bus that is affected by the command.
The :BUS<n>:MASK command defines the bits included and excluded in the
selected bus according to the mask. Set a mask bit to a "1" to include that bit in
the selected bus, and set a mask bit to a "0" to exclude it.
Query Syntax
:BUS<n>:MASK?
The :BUS<n>:MASK? query returns the mask value for the specified bus.
Return Format
<mask><NL> in decimal format
See Also • "Introduction to :BUS<n> Commands" on page 322
• ":BUS<n>:BIT<m>" on page 323
• ":BUS<n>:BITS" on page 324
• ":BUS<n>:CLEar" on page 326
• ":BUS<n>:DISPlay" on page 327
• ":BUS<n>:LABel" on page 328
This command is only valid for the MSO models.