Commands by Subsystem
3
Agilent 6000 Series Oscilloscopes Programmer's Reference
175
:CHANnel<n>:LABel
(see
Command Syntax
:CHANnel<n>:LABel <string>
<string> ::= quoted ASCII string
<n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
The :CHANnel<n>:LABel command sets the analog channel label to the
string that follows. Setting a label for a channel also adds the name to the
label list in non- volatile memory (replacing the oldest label in the list).
Query Syntax
:CHANnel<n>:LABel?
The :CHANnel<n>:LABel? query returns the label associated with a
particular analog channel.
Return Format
<string><NL>
<string> ::= quoted ASCII string
See Also
•
"Introduction to :CHANnel<n> Commands"
•
•
•
•
Example Code
' LABEL - This command allows you to write a name (six characters
' maximum) next to the channel number.
It is not necessary, but
' can be useful for organizing the display.
myScope.WriteString ":CHANNEL1:LABEL ""CAL 1"""
' Label channel1 "C
AL 1".
myScope.WriteString ":CHANNEL2:LABEL ""CAL2"""
' Label channel1 "CA
L2".
Example program from the start:
"VISA COM Example in Visual Basic"
N O T E
Label strings are six characters or less, and may contain any commonly used ASCII
characters. Labels with more than 6 characters are truncated to six characters. Lower case
characters are converted to upper case.
Содержание DSO6014A/L
Страница 1: ...A Agilent 6000 Series Oscilloscopes Programmer s Reference...
Страница 16: ...16 Agilent 6000 Series Oscilloscopes Programmer s Reference...
Страница 30: ...30 Agilent 6000 Series Oscilloscopes Programmer s Reference 1 What s New...
Страница 540: ...540 Agilent 6000 Series Oscilloscopes Programmer s Reference 6 Error Messages...
Страница 562: ...562 Agilent 6000 Series Oscilloscopes Programmer s Reference 7 Status Reporting...
Страница 584: ...584 Agilent 6000 Series Oscilloscopes Programmer s Reference 8 More About Oscilloscope Commands...
Страница 624: ...624 Agilent 6000 Series Oscilloscopes Programmer s Reference 9 Programming Examples...