EasyManua.ls Logo

Anritsu MS9710C - Response Message Terminator

Anritsu MS9710C
269 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-5
Talker Output Format
6
6.2.2 <RESPONSE MESSAGE TERMINATOR>
<RESPONSE MESSAGE TERMINATOR> is defined as follows:
END
NL
<RESPONSE MESSAGE TERMINATOR> is placed after the last <RESPONSE MESSAGE UNIT> to terminate
the sequence of one or more fixed-length <RESPONSE MESSAGE UNIT> elements.
If the following statements are specified for NL and ^END at the beginning of the program, then an EOI signal
(END signal) is issued along with the terminator LF when the last data byte has been transferred. (
See
Section 5.2.2.)
For NL, TERM IS CHR$ (10)
For END, EOI ON
<Example> Reading the currently set center frequency
10 LET ADR=101
20 TERM IS CHR$ (10) ! ........ Specify LF (New Line) as a terminator code.
30 EOI ON ! ................................. Output a EOI signal for making the EOI line true when the last data byte
has been transferred.
40 WRITE @ADR : “CNT?” ! .... Center wavelength read query
50 READ @ADR : A$ ! .............. Terminate response data read with an EOI signal.
60 PRINT A$
70 END
6.2 Response Message Functional Elements

Table of Contents

Related product manuals