VNA Master™Programming Manual : VNA Commands : [:SENSe]:TRACe Subsystem
 
[:SENSe]:TRACe Subsystem
This subsystem includes commands that provide general settings for each trace.
 
Trace Domain
[:SENSe]:TRACe<Tr>:DOMain
Description
Defines the domain for the given trace <Tr>. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1. The query version of this command returns “FREQ” if domain is Frequency, and “DIST” if domain is distance.
Syntax
[:SENSe]:TRACe<Tr>:DOMain FREQuency|DISTance
[:SENSe]:TRACe<Tr>:DOMain?
Cmd Parameter
<char> FREQuency|DISTance
Query Response
<char> FREQ|DIST
Default Value
Trace 1: FREQ
Trace 2: FREQ
Trace 3: FREQ
Trace 4: FREQ
Front Panel Access
Measure, Domain Selection
 
Trace Select
[:SENSe]:TRACe<Tr>:SELect
Description
Selects the given trace, <Tr>, as the active trace. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1. Note that this may also change the total number of traces.
Syntax
[:SENSe]:TRACe<Tr>:SELect
Cmd Parameter
NA
Query Response
NA (no query)
Default Value
TR1
Example
To set trace 2 as the active trace:
:SENSe:TRACe2:SELect
:SENS:TRAC2:SEL
To set trace 1 as the active trace:
:SENSe:TRACe1:SELect
:SENSe:TRACe:SELect
Front Panel Access
Measure, Active Trace
S Parameter
[:SENSe]:TRACe<Tr>:SPARams
Description
Defines the S‑parameter for the given trace, <Tr>.
<Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1. The query version of this command returns “S11” if the S‑parameter is set to S11, “S21” if set to S21.
Syntax
[:SENSe]:TRACe<Tr>:SPARams S11|S21
[:SENSe]:TRACe<Tr>:SPARams?
Cmd Parameter
<char> [S11|S21
Query Response
<char> [S11|S21
Default Value
Trace 1: S11
Trace 2: S21
Trace 3: S11
Trace 4: S21
Example
To assign S11 to trace 2:
:SENSe:TRACe2:SPARams S11
Front Panel Access
Measure, S Parameter
 
Number of Traces
[:SENSe]:TRACe:TOTal
Description
Sets the number of traces to display.
Syntax
[:SENSe]:TRACe:TOTal <integer>
[:SENSe]:TRACe:TOTal?
Cmd Parameter
<char> [1|2|3|4]
Query Response
<char> [1|2|3|4]
Default Value
2
Range
1 to 4
Example
To set number of traces to 3:
:SENSe:TRACe:TOTal 3
Front Panel Access
Measure, Number of Traces
 
Active Trace
[:SENSe]:TRACe:SELect?
Description
This command returns the current active trace number in the format TR#.
Syntax
[:SENSe]:TRACe:SELect?
Cmd Parameter
NA (query only)
Query Response
<char> [TR1|TR2|TR3|TR4]
Example
To query for the active trace number:
:SENS:TRAC:SEL?
Front Panel Access
Measure, Active Trace