COMMentCommand (Comment)


COMMent Commands (Assign and query comments)


Syntax


(Command)
(Query)


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

(Response)

CH$,(NO,)"A$"
A$ = L0 to L8  (logic channel only for CH$)
CH$ = CH1 to CH32, CHA to CHH
NO = 1 to 4  (logic channel only for CH$)
B$ = 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.)

On the PC screen

ˆ2

ˆ3

˜ c

˜ o

˜ u

˜ e

˜ ,

˜ ;

ˆ ˆ

˜ ˜

On the MR8827 screen

2

3

°

Ω

μ

ε

'

"

ˆ

˜


Either single (') or double quotation marks (") can be used in the command argument
Special characters other than the above are replaced by spaces


Example


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

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

:COMMent:CH? CH1
(response)  :COMMENT:CH CH1,"ABCDEFG"  (when headers are enabled)

:COMMent:CH? L0,CHA,3
(response)  :COMMENT:CH L0,CHA,3,"123456"  (when headers are enabled)


Note


-


Usage
Conditions


ALL function




Set or query channel comment On or Off


Syntax


(Command)
(Query)


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

(response)

(A$,CH$,)B$
A$ = L0 to L8  (logic only)
CH$ = CHA to CHH  (logic only)
B$ = OFF, SETTing, COMMent, S_C  (analog only)
B$ = OFF, COMMent  (logic only)


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)
SETTing  (printing of analog channel settings enabled)
COMMent  (printing of comments enabled)
S_C  (printing of settings and comments enabled)


Example


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

:COMMent:EACHch L0,CHC,COMMent
(Enables printing of the settings for logic channel L0 to CHC)

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

:COMMent:EACHch? L0,CHC
(response)  :COMMENT:EACHCH L0,CHC,COMMENT  (when headers are enabled)


Note


Omit CH$ and A$ for analog channels.


Usage
Conditions


ALL functions




Set or query title comment printing


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))


Details


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

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

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

On the PC screen

ˆ2

ˆ3

˜ c

˜ o

˜ u

˜ e

˜ ,

˜ ;

ˆ ˆ

˜ ˜

On the MR8827 screen

2

3

°

Ω

μ

ε

'

"

ˆ

˜


Either single (') or double quotation marks (") can be used in the command argument.
Special characters other than the above are replaced by spaces.


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


-


Usage
Conditions


All functions