3 Spectrum Analyzer Mode
3.2 Swept SA Measurement
depends on which instruments have already been discovered by the Keysight
Connection Expert application. Any connected, supported sources in that list is
added.
Notes If no supported source is found in the Connection Expert list, an error message is generated
Select Highlighted Source
You can navigate up and down in the list with the up and down arrow keys, and
select any entry by pressing Select Highlighted Source (or by double-tapping on the
entry in the table). The highlighted source becomes the Current Source and is
prominently displayed at the bottom of the screen.
At any given time, there is only one selected Source for the entire system; once a
Source is selected, it becomes the Current Source and will be used by all
applications that support Source Control.
For example, if no Source has yet been selected, the statement at the bottom of the
screen would say
Selected Source
None
If an N5182A connected via USB were the Current Source, the statement at the
bottom of the screen might say:
Selected Source
Keysight N5182A US00000258 at USB0::2931::7937::US00000258::0::INSTR
The command defined below allows the programmatic user to directly define the
VISA address via a string parameter. The parameter is checked for proper syntax,
the connection to the instrument is verified, and the source is added to the Available
Source List if it verifies. If it does not verify or no source is found at that address, an
error message is generated.
Normally the source selection activities should be performed only when the user
changes the hardware connection configuration or activates/deactivates a source
option license; shutdown and startup of the application will not cause source re-
selection.
The Keysight IO Libraries Suite provides a “Keysight VISA Help” document that has a
section that shows the proper syntax for valid VISA address strings, in the ViOpen
function definition.
Remote Command
:SYSTem:COMMunicate:SOURce[1]:ADDRess <address string>
:SYSTem:COMMunicate:SOURce[1]:ADDRess?
Example Different examples for setting external source address
:SYST:COMM:SOUR:ADDR “TCPIP0::MyHostName::INSTR”
:SYST:COMM:SOUR:ADDR “TCPIP0::123.121.100.210::INSTR”
476 Spectrum Analyzer Mode User's &Programmer's Reference