EasyManua.ls Logo

Rohde & Schwarz CMW500 - Response Buffers

Rohde & Schwarz CMW500
323 pages
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...
Remote Control
R&S
®
CMW500
184User Manual 1173.9463.02 ─ 06
// Re-define the macro using block data format. Check and store the macro.
// *****************************************************************************
*DMC 'RF_Settings', #0SOURce:GPRF:GENerator:RFSettings:FREQuency $1; LEVel $2
*GMC? 'RF_Settings'
MMEMory:STORe:MACRo 'RF_Settings', 'D:/macros/RF_Settings.txt'
Recording macro files
// *****************************************************************************
// Start recording.
// Submit commands to be recorded.
// Stop recording.
// Load the recorded macro and check its contents.
// *****************************************************************************
SYSTem:RECord:MACRo:FILE:STARt 'D:/macros/GPRF.txt'
SOURce:GPRF:GENerator:RFSettings:FREQuency 1 GHz
SOURce:GPRF:GENerator:RFSettings:EATTenuation 2
SOURce:GPRF:GENerator:RFSettings:LEVel -70
SYSTem:RECord:MACRo:FILE:STOP
MMEMory:LOAD:MACRo 'RF_Settings1', 'D:/macros/GPRF.txt'
*GMC? 'RF_Settings1'
5.8 Response Buffers
A response buffer is a region of memory in the R&S CMW500's RAM used to store device
responses, in particular measurement data, which the R&S CMW500 generates while
executing queries. If no buffer is enabled, a query in a remote script suspends program
execution until the controller has retrieved the response. The main purpose of response
buffers is to avoid these delays. Results are stored while program execution continues
and can be read at the end of the program.
Response buffers improve the efficiency of command macros containing queries. Similar
to command macros, the buffers are created at the beginning of a remote script. Buffers
remain valid until the active remote control connection is closed; they are not transferable
from one remote channel to another. It is possible though to assign buffers with the same
name (but generally different contents) to different connections.
See also chapter 5.7, "Command Macros", on page 181.
DCL, troubleshooting
A device clear (DCL) interface message does not deactivate the buffer. Errors in the
response buffers can be monitored using the status reporting system and the error queue
(SYSTem:ERRor...?).
Response Buffers

Table of Contents

Related product manuals