Keysight N9320B Programmer's Manual page 17

Spectrum analyzer
Hide thumbs Also See for N9320B:
Table of Contents

Advertisement

Getting Started
Remotely Operating Your N9320B
the script is also allowed in the telnet programming. Please find the
script example as below:
set sh=WScript.CreateObject("WScript.Shell")
sh.run "telnet 146.208.209.171 5025"
WScript.Sleep 300
sh.SendKeys ":init:cont off;:freq:center 582.057
MHz;:freq:span 3000 Hz;:band:RES 30 Hz"
sh.SendKeys "{ENTER}"
WScript.Sleep 300
sh.SendKeys ":freq:center?"
sh.SendKeys "{ENTER}"
Please follow the steps below to use this script example in telnet
programming:
1. Copy these commands above to a new txt file
2. Replace the IP address, port number and the command you
need.
3. After you finish the editing, save the file with subfix vbs, such as
script.vbs.
4. Double click this file in Operating system or type the file name
and press ENTER in command window to run this program. The
program will be initiated immediately and the result will be return
in command window.
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents