VNA Master™Programming Manual : VNA Commands : [:SENSe] Subsystem
 
[:SENSe] Subsystem
The commands in this subsystem relate to device‑specific parameters, not to signal‑oriented parameters.
[:SENSe] Subsystem 
Keyword
Parameter Data or Units
[:SENSe]
 
:APPLication
:AVERage
:CALibration
:CORRection
:FREQuency
:RFON[:STATe]
:SWEep
:TRACe
 
 
[:SENSe]:APPLication Subsystem
This subsystem contains application specific commands.
Application Self Test
[:SENSe]:APPLication:TST?
Description
Executes an application self test and reports whether any errors were detected. A return value of “0” indicates that the test was completed without detecting any error.
Two self test types can be specified. If no test type is specified, then the test defaults to NORMal. The PWRon self test is a scaled‑down version of the normal self test that runs during the instrument power‑on cycle.
Syntax
[:SENSe]:APPLication:TST? NORMal|PWRon
Cmd Parameter
NA (query only)
Query Parameter
<char> NORMal|PWRon
Query Response
<NR1> <integer>
Front Panel Access
NA
 
Application Self Test Result
[:SENSe]:APPLication:TST:RESult?
Title
Application Self Test Result
Description
Returns the application self test result of the previous call to the application self test. The response begins with an ASCII header. The header specifies the number of following bytes. It appears in the format #AX<block data>, where A is the number of digits in X, and X is the number of bytes that follow the header. The first information of the <block data> contains the overall self test string ( “PASSED” or “FAILED” ) followed by a comma, and each self test result separated by a comma. Each subset of the result is included in angle brackets, < >.
Note that an application self test command must be called prior to calling this command in order for the result to be valid.
Syntax
[:SENSe]:APPLication:TST:RESult?
Cmd Parameter
NA (query only)
Query Response
<block> (No units, NA)
Front Panel Access
NA
 
[:SENSe]:AVERage Subsystem
This subsystem contains commands that are related to the combination of the data from consecutive sweeps. Use commands in this subsystem to control sweep‑to‑sweep averaging and max hold functionality.
Restart Averaging
[:SENSe]:AVERage:CLEar
Description
No query. Clears and restarts averaging of the measurement data. Note that sweep averaging count must be set to greater than 1 for averaging to restart.
Syntax
[:SENSe]:AVERage:CLEar
Cmd Parameter
<char>
Query Response
NA (no query)
Front Panel Access
NA
 
Number of Traces to Average
[:SENSe]:AVERage:COUNt
Description
Sets the number of traces to be averaged. Note that when averaging count is set to be greater than 1, sweep averaging is turned on. To stop Syntax
[:SENSe]:AVERage:COUNt <integer>
[:SENSe]:AVERage:COUNt?
Cmd Parameter
<NR1> <integer>
Query Response
<NR1> <integer>
Range
1 to 65535
Default Value
1
Front Panel Access
Shift‑3 (Sweep), Sweep Averaging