EasyManua.ls Logo

Rohde & Schwarz SMW200A - Programming Examples

Rohde & Schwarz SMW200A
1312 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 Commands
R&S
®
SMW200A
803User Manual 1175.6632.02 ─ 16
13.13.1 Programming Examples
Example: Store a hard copy of the display
The following example lists commands to configure and execute a hard copy to an
automatic named file.
// ******************************************************************
// Hard copy settings
// ******************************************************************
:HCOPy:DEVice:LANGuage PNG
:HCOPy:FILE:NAME:AUTO:STATe 1
// defines the output format
// sets the instrument to automatically create output file names
// ******************************************************************
// Configure hard copy options, set automatic naming rules
// An automatically generated file name consists of:
// <Prefix><YYYY><MM><DD><Number>.<Format>
// ******************************************************************
:HCOPy:DEVice:LANGuage BMP
// defines output format *.bmp
:HCOPy:REGion DIALog
// selects the region to be copied
:HCOPy:FILE:AUTO:DIR "usb/HCopy"
// sets destination directory of automatic named file to "/usb/HCopy"
:HCOPy:FILE:NAME:AUTO:FILE:PREFix:STATe 1
:HCOPy:FILE:NAME:AUTO:FILE:PREFix:"hardcopy"
:HCOPy:FILE:NAME:AUTO:FILE:YEAR:STATe 1
:HCOPy:FILE:NAME:AUTO:FILE:MONTh:STATe 1
// uses automatic naming prefix
// sets automatic naming prefix to "hardcopy"
// uses automatic naming date parameters year and month
// ******************************************************************
// Execute and transfer the hard copy
// ******************************************************************
:HCOPy:EXECute
:HCOPy:DATA
// generates a hard copy
// transfers the hard copy to the remote client
:HCOPy:FILE:AUTO:FILE?
// queries the automatic file name
// response: "hardcopy1607001.bmp"
:HCOPy:FILE:AUTO:NUMBer?
// queries the number in the automatic file name
// response: "001"
:HCOPy:FILE:AUTO?
HCOPy Subsystem

Table of Contents

Related product manuals