VNA Master™Programming Manual : Spectrum Analyzer Commands : :FETCh Subsystem
 
:FETCh Subsystem
This set of commands returns the most recent measurement data of the active measurement. They do not switch to another measurement.
To make a new measurement, use the :INITiate command. To get new measurement data, use the :READ or :MEASure query commands.
 
Fetch Adjacent Channel Power Ratio
:FETCh:ACPower?
Description
Returns the most recent adjacent channel power ratio measurement results. If the instrument is sweeping, it does not return until the sweep is complete. If the instrument is not sweeping, and if the current data is not valid, then it returns error – 230. This could occur if an *RST command were issued immediately before the :FETCh? or if a measurement parameter were changed without an :INITiate.
Data is returned as 5 comma-separated values: main channel power, lower adjacent channel power, upper adjacent channel power, lower alternate channel power, upper alternate channel power.
Syntax:
:FETCh:ACPower?
Default Unit
Current amplitude units
Front Panel Access
NA
 
Fetch Channel Power
:FETCh:CHPower:CHPower?
Description
Returns the most recent channel power measurement result. It returns only the channel power, not the channel power density. Use :FETCh:CHPower? to get both channel power and channel power density.
Syntax:
:FETCh:CHPower:CHPower?
Cmd Parameter
NA (query only)
Default Unit
Current amplitude units
Related Command
:FETCh:CHPower?
:FETCh:CHPower:DENSity?
Front Panel Access
NA
 
Fetch Channel Power Density
:FETCh:CHPower:DENSity?
Description
Returns the most recent channel power density measurement result. It returns only the channel power density, not the channel power. Use :FETCh:CHPower? to get both channel power and channel power density. If the instrument is sweeping, then it does not return until the sweep is complete. If the instrument is not sweeping, and if the current data is not valid, then it returns error – 230. This could occur if an *RST command were issued immediately before the :FETCh?, or if a measurement parameter were changed without an :INITiate.
Syntax:
:FETCh:CHPower:DENSity?
Cmd Parameter
NA (query only)
Default Unit
Current amplitude units
Front Panel Access
NA
 
Fetch Channel Power/Density
:FETCh:CHPower?
Description
This command returns the most recent channel power measurement results: channel power and channel power density. If the instrument is sweeping, then it does not return until the sweep is complete. If the instrument is not sweeping, and if the current data is not valid, then it returns error – 230. This could occur if an *RST command were issued immediately before the :FETCh?, or if a measurement parameter were changed without an :INITiate.
Data is returned as 2 comma‑separated values: channel power, channel power density.
Syntax:
:FETCh:CHPower?
Cmd Parameter
NA (query only)
Default Unit
Current amplitude units
Related Command
:FETCh:CHPower:CHPower?
:FETCh:CHPower:DENSity?
Front Panel Access
NA
 
Fetch Occupied Bandwidth Frequency
:FETCh:OBWidth:FREQuency?
Description
Returns the most recent occupied bandwidth lower frequency and upper frequency.
Data is returned as 2 comma‑separated values: lower frequency and upper frequency in Hz.
Syntax:
:FETCh:OBWidth:FREQuency?
Cmd Parameter
NA (query only)
Default Unit
Hz
Related Command
:FETCh:CHPower?
:FETCh:CHPower:CHPower?
Front Panel Access
NA
 
Fetch Occupied Bandwidth
:FETCh:OBWidth?
Description
Returns the most recent occupied bandwidth measurement results: occupied bandwidth, percent of power, and dB down. One of either percent of power or dB down is measured, and the other is set. That is determined by the value that is set using [:SENSe]:OBWidth:METHod. If the instrument is sweeping, then it does not return until the sweep is complete. If the instrument is not sweeping, and if the current data is not valid, then it returns error – 230. This could occur if an *RST command were issued immediately before the :FETCh?, or if a measurement parameter were changed without an :INITiate.
Data is returned as 3 comma‑separated values: occupied bandwidth, percent of power, dB down.
Syntax:
:FETCh:OBWidth?
Cmd Parameter
NA (query only)
Default Unit
OBW in Hz, Percent of Power in %, dB Down in dB
Front Panel Access
NA