EasyManua.ls Logo

Rohde & Schwarz R&S SMW200A - Code Generator Templates

Rohde & Schwarz R&S SMW200A
1403 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...
Network Operation and Remote Control
R&S
®
SMW200A
838User Manual 1175.6632.02 ─ 30
In addition the R&S SMW provides the following LXI-related functionality:
Integrated "LXI Status" dialog for LXI status indication and reset of the LAN config-
uration, see Chapter 13.5.1, "LXI Status Settings", on page 795.
"LXI Browser Interface", as described in Chapter 13.5.2.1, "LAN Configuration",
on page 798.
"SCPI Remote Trace" utility, see "SCPI Remote Trace" on page 801.
Firmware update
To enable the full LXI functionality after a firmware update, shut down and restart the
instrument.
13.10.2 Code Generator Templates
This section describes the main structure of the code generator templates, and shows
the method by means of the NICVI template.
The code generation is controlled by templates with the following blocks:
Command Function
#EXTENSION_START
#EXTENSION_END
Defines the output file extension.
#INIT_CODE_START
#INIT_CODE_END
Contains initial entries, such as included files and
libraries, buffer size, commands for synchronization,
or creating a VISA session.
All entries between start and end are written once at
the beginning of the output file.
#COMMAND_CODE_START
#COMMAND_CODE_END
Frame for an SCPI command. A command is
accessed with %COMMAND.
#NO_COMMAND_CODE_START
#NO_COMMAND_CODE_END
Frame for a parameter with no SCPI command
available. A parameter is accessed with
%PARAMETER.
#EXIT_CODE_START
#EXIT_CODE_END
Closes the visa session.
All entries between start and end are written once at
the end of the output file.
Templates are created in ASCII format with file extension *.expcodetempl.
Example:
Example to the code generator template NICVI.expcodetmpl:
#EXTENSION_START
.c
#EXTENSION_END
#INIT_CODE_START
#include <ansi_c.h>
References

Table of Contents