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, “TIME” if domain is Time, “DIST” if domain is distance, and “FGT” if domain is Frequency Gated in Time.
Syntax
[:SENSe]:TRACe<Tr>:DOMain FREQuency|TIME|DISTance|FGT
[:SENSe]:TRACe<Tr>:DOMain?
Cmd Parameter
<char> FREQuency|TIME|DISTance|FGT
Query Response
<char> FREQ|TIME|DIST|FGT
Default Value
Trace 1: FREQ
Trace 2: FREQ
Trace 3: FREQ
Trace 4: FREQ
Example
To assign Time domain to trace 2:
:SENSe:TRACe2:DOMain TIME
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, “S12” if set to S12, “S22” if set to S22, “SD1D1” if set to SD1D1, “SC1C1” if set to SC1C1, “SC1D1” if set to SC1D1, and “SD1C1” if set to SD1C1.
Note that S‑parameter SD1D1, SC1C1, SC1D1, and SD1C1 are available only if option 77 is installed.
Syntax
[:SENSe]:TRACe<Tr>:SPARams
 S11|S21|S12|S22|SD1D1|SC1C1|SC1D1|SD1C1
[:SENSe]:TRACe<Tr>:SPARams?
Cmd Parameter
<char> [S11|S21|S12|S22|SD1D1|SC1C1|SC1D1|SD1C1]
Query Response
<char> [S11|S21|S12|S22|SD1D1|SC1C1|SC1D1|SD1C1]
Default Value
Trace 1: S11
Trace 2: S12
Trace 3: S21
Trace 4: S22
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]
Range
1 to 4
Default Value
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