:BUS<n> Commands
8
Agilent InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
245
:BUS<n>:BIT<m>
(see
page 1208
)
Command Syntax
:BUS<n>:BIT<m> <display>
<display> ::= {{1 | ON} | {0 | OFF}}
<n> ::= An integer, 1 or 2, is attached as a suffix to BUS
and defines the bus that is affected by the command.
<m> ::= An integer, 0,..,15, is attached as a suffix to BIT
and defines the digital channel that is affected by the command.
The :BUS<n>:BIT<m> command includes or excludes the selected bit as
part of the definition for the selected bus. If the parameter is a 1 (ON),
the bit is included in the definition. If the parameter is a 0 (OFF), the bit
is excluded from the definition.
Note:
BIT0- 15 correspond to DIGital0- 15.
Query Syntax
:BUS<n>:BIT<m>?
The :BUS<n>:BIT<m>? query returns the value indicating whether the
specified bit is included or excluded from the specified bus definition.
Return Format
<display><NL>
<display> ::= {0 | 1}
See Also
•
"Introduction to :BUS<n> Commands"
on page 244
•
":BUS<n>:BITS"
on page 246
•
":BUS<n>:CLEar"
on page 248
•
":BUS<n>:DISPlay"
on page 249
•
":BUS<n>:LABel"
on page 250
•
":BUS<n>:MASK"
on page 251
Example Code
' Include digital channel 1 in bus 1:
myScope.WriteString ":BUS1:BIT1 ON"
N O T E
This command is only valid for the MSO models.
Summary of Contents for InfiniiVision 4000 X-Series
Page 1: ...s1 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 32: ...32 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 52: ...52 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 2 Setting Up ...
Page 66: ...66 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 3 Getting Started ...
Page 242: ...242 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 7 ACQuire Commands ...
Page 252: ...252 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 8 BUS n Commands ...
Page 300: ...300 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 12 DEMO Commands ...
Page 330: ...330 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 15 DVM Commands ...
Page 386: ...386 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 18 HARDcopy Commands ...
Page 484: ...484 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 21 MEASure Commands ...
Page 1098: ...1098 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 34 WGEN w Commands ...
Page 1174: ...1174 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 37 Error Messages ...
Page 1352: ...1352 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide Index ...