COMMent Commands (Assign and query comments)


Assign or query the comment for a particular channel

8860, 8861


Syntax


(Command)
(Query)


:COMMent:CH CH$,(NO$,)"A$"
:COMMent:CH? CH$(,NO$)

(Response)

CH$,(NO$,)"A$"
CH$ = CHm_n, CHx
NO$ = NO1 to NO4  (logic channels only, omitted for analog channels)
A$ = comment text (up to 40 characters)


Details


Specifies a text string as a comment for channel CH$.
Returns the comment for channel CH$ as a text string.

Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

^2 ( = 2 )

^3 ( = 3 )

^n ( = n )

~u ( = μ )

~o ( = Ω )

~e ( = ε )

~c ( = ° )

~+ ( = ± )

~, ( = ' )

~; ( = " )


Either single (') or double quotation marks (") can be used in the command argument.


Example


:COMMent:CH CH1_1,"ABCDEFG"
(Sets the comment of analog channel CH1-1 to "ABCDEFG")

:COMMent:CH CHA,NO3,"123456"
(Sets the comment of logic channel CHA-3 to "123456")

:COMMent:CH? CH1_1
(Response)  :COMMENT:CH CH1_1,"ABCDEFG"  (when headers are enabled)

:COMMent:CH? CHA,NO3
(Response)  :COMMENT:CH CHA,NO3,"123456"  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Set or query channel comment printing

8860, 8861


Syntax


(Command)
(Query)


:EACHch (CH$,)A$
:EACHch? (CH$)

(Response)

(CH$,)A$
CH$ = CHx  (logic channel)
A$ = OFF, SETTing, COMMent, S_C  (for analog channels)
A$ = OFF, ON  (for logic channels)


Details


Sets the channel comment printing state.
Returns text indicating the comment printing state of all channels or the specified channel.

OFF  (no comment printing)
ON  (comment printing enabled)
SETTing  (printing of analog channel settings enabled)
COMMent  (printing of analog channel comments enabled)
S_C  (printing of settings and comments enabled)


Example


:COMMent:EACHch SETTing
(Enables printing of analog channel settings.)

:COMMent:EACHch SETTing CHC,ON
(Enables printing of the settings for logic channel CHC)

:COMMent:EACHch?
(Response)  :COMMENT:EACHCH SETTING  (when headers are enabled)

:COMMent:EACHch? CHC
(Response)  :COMMENT:EACHCH CHC,ON  (when headers are enabled)


Note


Omit CH$ for analog channels.


Usage
Conditions


All functions




Assign or query the comment for FFT

8860, 8861


Syntax


(Command)
(Query)


:COMMent:FCOMment A,"B$"
:COMMent:FCOMment? A

(Response)

A,"B$"
A = 1 to 8 (calculation number)
B$ = comment text (up to 40 characters)


Details


Sets the FFT comment for calculation number A. Returns the FFT comment calculation number A as a text string.
Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

^2 ( = 2 )

^3 ( = 3 )

^n ( = n )

~u ( = μ )

~o ( = Ω )

~e ( = ε )

~c ( = ° )

~+ ( = ± )

~, ( = ' )

~; ( = " )


Either single (') or double quotation marks (") can be used in the command argument.


Example


:COMMent:FCOMment 1,"ABCDEFG"
:COMMent:FCOMment? 1
(Response)  :COMMENT:FCOMMENT 1,"ABCDEFG"  (when headers are enabled)


Note


-


Usage
Conditions


FFT




Assign or query a title comment

8860, 8861


Syntax


(Command)
(Query)


:COMMent:TCOMment "A$"
:COMMent:TCOMment?

(Response)

"A$"
A$ = comment text (up to 40 characters)


Details


Sets the title comment.
Returns the title comment as a text string.

Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

^2 ( = 2 )

^3 ( = 3 )

^n ( = n )

~u ( = μ )

~o ( = Ω )

~e ( = ε )

~c ( = ° )

~+ ( = ± )

~, ( = ' )

~; ( = " )


Either single (') or double quotation marks (") can be used in the command argument.


Example


:COMMent:TCOMment "HIOKI"
:COMMent:TCOMment?
(Response)  :COMMENT:TCOMMENT "HIOKI"  (when headers are enabled)


Note


The comment set by this command is the same as :COMMent:TITLe.


Usage
Conditions


All functions




Set or query title comment printing

8860, 8861


Syntax


(Command)
(Query)


:COMMent:TITLe A$(,"B$")
:COMMent:TITLe?

(Response)

A$(,"B$")
A$ = OFF, SETTing, COMMent, S_C
B$ = comment text (up to 40 characters)  (when A$ is not OFF)


Details


Sets the title comment printing state, and specifies the title comment text string.
Returns text indicating the title comment printing state and the comment text, if any.
The comment may be omitted.

OFF  (no comment printing)
SETTing  (printing of title comment settings enabled)
COMMent  (printing of the title comment enabled)
S_C  (printing of settings and comment enabled)

Special characters can be entered as follows:
(Special characters other than the following are replaced by spaces.)

^2 ( = 2 )

^3 ( = 3 )

^n ( = n )

~u ( = μ )

~o ( = Ω )

~e ( = ε )

~c ( = ° )

~+ ( = ± )

~, ( = ' )

~; ( = " )


Either single (') or double quotation marks (") can be used in the command argument.


Example


:COMMent:TITLe SETTing,"ABCDE"
(Enables printing of settings and assigns "ABCDE" as title comment.)

:COMMent:TITLe OFF
(Disables title comment printing.)

:COMMent:TITLe?
(Response)  :COMMENT:TITLE OFF  (when headers are enabled)


Note


The comment set by this command is the same as :COMMent:TCOMment.
The comment printing status set by this command is the same as :COMMent:TTYPe.


Usage
Conditions


All functions




Set or query the title comment printing type

8860, 8861


Syntax


(Command)
(Query)


:COMMent:TTYPe A$
:COMMent:TTYPe?

(Response)

A$
A$ = OFF, SETTing, COMMent, S_C


Details


Sets the title comment printing state.
Queries the title comment printing state.

OFF  (no title comment printing)
ON  (title comment printing enabled)
SETTing  (printing of comment settings enabled)
COMMent  (printing of title comments enabled)
S_C  (printing of title settings and comment enabled)


Example


:COMMent:TTYPe COMMent
:COMMent:TTYPe?
(Response)  :COMMENT:TTYPE COMMENT  (when headers are enabled)


Note


The comment printing status set by this command is the same as :COMMent:TITle


Usage
Conditions


All functions