Agilent Technologies Signal Analyzer N9030a User Manual

Page 1138

Advertising
background image

6  RLC Swept SA Measurement Front-Panel & SCPI Reference
Source

For example, if no Source has yet been selected, the statement at the bottom of the screen would
say

l

Current Source

l

None

If an N5182A connected via USB were the Current Source, the statement at the bottom of the
screen might say:

l

Current Source

l

Agilent   N5182A  US00000258   at  USB0::2931::7937::US00000258::0::INSTR

The SCPI 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 Agilent IO Libraries Suite provides an “Agilent VISA Help” document that has a section that
shows the proper syntax for valid VISA address strings, in the ViOpen function definition.

Key Path

Source, Select Source

Mode

SA

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”

:SYST:COMM:SOUR:ADDR “USB0::12212::32145::US1234567A::INSTR”

:SYST:COMM:SOUR:ADDR “GPIB1::19::INSTR”

Notes

Empty string is allowed and means no source is defined or selected.

Remote Command
Notes

The address string is the VISA address for external sources and “INTERNAL” for an internal
source

Dependencies

Operation with a source requires a license.  If the proper license is not installed, the SCPI
command generates an error message, “Settings conflict;option not installed” 

If no supported source, or no source at all, is found at the specified address, the SCPI command
generates an error message

Preset

The current source selection is unaffected by a Mode Preset and Source Preset but reverts to

1138

Remote Language Compatibility Measurement Application Reference

Advertising