Download Agilent Technologies 2000 X-Series Technical data

Transcript
8
:BUS<n> Commands
:BUS<n>:LABel
(see page 790)
Command Syntax
:BUS<n>:LABel <quoted_string>
<quoted_string> ::= any series of 10 or less characters as a
quoted ASCII string.
<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>:LABel command sets the bus label to the quoted string.
Setting a label for a bus will also result in the name being added to the
label list.
NOTE
This command is only valid for the MSO models.
NOTE
Label strings are 10 characters or less, and may contain any commonly used ASCII
characters. Labels with more than 10 characters are truncated to 10 characters.
Query Syntax
:BUS<n>:LABel?
The :BUS<n>:LABel? query returns the name of the specified bus.
Return Format
<quoted_string><NL>
<quoted_string> ::= any series of 10 or less characters as a
quoted ASCII string.
See Also
• "Introduction to :BUS<n> Commands" on page 198
• ":BUS<n>:BIT<m>" on page 199
• ":BUS<n>:BITS" on page 200
• ":BUS<n>:CLEar" on page 202
• ":BUS<n>:DISPlay" on page 203
• ":BUS<n>:MASK" on page 205
• ":CHANnel<n>:LABel" on page 225
• ":DISPlay:LABList" on page 260
• ":DIGital<d>:LABel" on page 246
Example Code
204
' Set the bus 1 label to "Data":
myScope.WriteString ":BUS1:LABel 'Data'"
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide