:SENSe:BWIDth[:RESolution]
Description
This command gets or sets the receiver bandwidth resolution. It is defined as the bandwidth of the predetection bandpass filtering.
Syntax |
Parameter |
:SENSe<ch>:BWIDth[:RESolution] |
<numeric > |
Parameters |
accepted format |
allowed suffixes |
possible Errors |
description |
<ch > |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
{ <numeric > | MINimum | MAXimum } |
Valid value range |
Hz |
Numeric data error |
The bandpass resolution |
Syntax |
Response |
:SENSe<ch>:BWIDth[:RESolution]? |
<numeric > |
Parameters |
accepted format |
description |
<ch > |
{ 1 | empty } |
Currently only one channel is supported. Empty means 1 is used as default. |
Response value |
description |
<numeric > |
value of bandpass resolution in Hz |
Presets
For presets please refer to Measurement Modes and Default Settings.
Sample usage
Configure and start an S21
sweep measurement with receiver bandpass resolution of 3kHz
.
var visaSession = new TcpipSocket(VISA_RESOURCENAME);
visaSession.RawIO.Write(":CALC:PAR:DEF S21\n");
visaSession.RawIO.Write(":SENS:BWID 3kHz\n");
visaSession.RawIO.Write(":TRIG:SING\n");
// wait for the measurement to finish
visaSession.RawIO.Write("*OPC?\n");
visaSession.RawIO.ReadString():
visaSession.RawIO.Write(":SENS:FREQ:DATA?\n");
var frequencyValues = visaSession.RawIO.ReadString();
visaSession.RawIO.Write(":CALC:DATA:SDAT?\n");
var measurementValues = visaSession.RawIO.ReadString();
visaSession.write(':CALC:PAR:DEF S21\n')
visaSession.write(':SENS:BWID 3kHz\n')
visaSession.write(':TRIG:SING\n')
visaSession.query('*OPC?\n')
frequencyValues = visaSession.query(':SENS:FREQ:DATA?\n')
measurementValues = visaSession.query(':CALC:DATA:SDAT?\n')
:SENSe:BANDwidth[:RESolution]