![Rohde & Schwarz CMW500 Series User Manual Download Page 184](http://html1.mh-extra.com/html/rohde-and-schwarz/cmw500-series/cmw500-series_user-manual_1477718184.webp)
Remote Control
R&S
®
CMW500
184
User Manual 1173.9463.02 ─ 02
// Execute the macro repeatedly, stop recording in order to query the number of
// buffer lines (3) and the buffer line contents
// (the responses should be 3 GHz, 2 GHz, 1GHz)
Query_macro 1 GHz
Query_macro 2 GHz
Query_macro 3 GHz
STOP:BASE:BUFFer
FETCh:BASE:BUFFer:LINEcount? 'Frequency_Buffer'
FETCh:BASE:BUFFer? 'Frequency_Buffer',3
FETCh:BASE:BUFFer? 'Frequency_Buffer',2
FETCh:BASE:BUFFer? 'Frequency_Buffer',1
// With stopped buffer, no further lines are appended.
// The line count query still returns 3.
Query_macro 1 GHz
FETCh:BASE:BUFFer:LINEcount? 'Frequency_Buffer'
// Re-activate the buffer to appended further lines.
// The line count query returns 4.
CONTinue:BASE:BUFFer 'Frequency_Buffer'
Query_macro 4 GHz
STOP:BASE:BUFFer
FETCh:BASE:BUFFer:LINEcount? 'Frequency_Buffer'
// Clear the buffer contents: the line count query returns 0
// Delete the buffer: the line count query times out and the error queue
// contains an entry with code -273 "Illegal macro label"
CLEAR:BASE:BUFFer 'Frequency_Buffer'
FETCh:BASE:BUFFer:LINEcount? 'Frequency_Buffer'
DELete:BASE:BUFFer 'Frequency_Buffer'
FETCh:BASE:BUFFer:LINEcount? 'Frequency_Buffer'
SYSTem:ERRor?
6.9 LXI Configuration
LAN eXtensions for Instrumentation (LXI) is an instrumentation platform for measuring
instruments and test systems that is based on standard Ethernet technology. LXI is
intended to be the LAN-based successor to GPIB, combining the advantages of Ethernet
with the simplicity and familiarity of GPIB.
6.9.1 LXI Classes and LXI Functionality
LXI-compliant instruments are divided into three classes, A, B and C, with the functionality
of the classes hierarchically based one upon the other:
LXI Configuration