EasyManua.ls Logo

Rohde & Schwarz R&S SGS100A - Page 189

Rohde & Schwarz R&S SGS100A
326 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
®
SGS100A
189User Manual 1173.9105.02 ─ 13
2. Go to folder Build
3. On the command line, enter cmake ..
4. Enter make
Folder Build contains the executable SgsDriverDemo.
Building the example program (Windows)
1. Copy folders InstrumentDriver and SgsDriverDemo to your hard disk.
2. Open SgsDriverDemo.vcproj with Visual Studio.
3. Build the program.
Running the example program
On the command line, enter ./SgsDriverDemo RESOURCESTRING [cmd].
Where
RESOURCESTRING is the (VISA) resource string of your instrument, e.g.
TCPIP::ipaddress::5025::SOCKET or PCIE::0x162f::
0x132e::serialno::INSTR.
Where ipaddress is the IP address or hostname of your instrument and
serialno is its serial number.
cmd is an optional command (see table).
The following table list the available commands.
Command Description
?
Usage
q
Quit
f value Set frequency
f?
Query frequency
l value Set level
l?
Query level
r value Set RF state (value = 0 | 1 | ON | OFF)
r?
Query RF state
If you enter an additional optional command, SgsDriverDemo executes it and
enters a loop waiting for further commands.
Example:
TCPIP::10.111.11.44::5025::SOCKET ?
Lists the available commands.
Advanced remote control using PCIe

Table of Contents

Related product manuals