Property (Read-Write)
SCPI.CALCulate(Ch).PARameter.TNAMe.SPORt(Name) = Value
Value = SCPI.CALCulate(Ch).PARameter.TNAMe.SPORt(Name)
This command sets/gets the output port used for absolute or AUX measurements, for the selected trace of the selected channel (Ch). The trace can be selected by the trace name once its defined earlier with SCPI.CALCulate(Ch).PARameter(Tr).TNAMe.DATA command.
Parameter |
Name |
Description |
Trace Name |
Data type |
Character string type (String) |
Parameter |
Value |
Description |
Setting of the output port |
Data type |
Long integer type (Long) |
Range |
1 to 2 |
Preset value |
1 |
Note |
You need to set the measurement parameter for absolute/AUX measurements with the “SCPI.CALCulate(Ch).PARameter(Tr).DEFine” command. |
Dim Sport As Long
SCPI.CALCulate(1).PARameter(1).TNAMe.DATA = "duptrace"
SCPI.CALCulate(1).PARameter.TNAMe.DEFine("duptrace") = "B"
SCPI.CALCulate(1).PARameter.TNAMe.SPORt("duptrace") = 2
Sport = SCPI.CALCulate(1).PARameter.TNAMe.SPORt("duptrace")
SCPI.CALCulate(Ch).PARameter(Tr).DEFine
Meas > Absolute > A(x) ...D(x)...R1(x) ...R2(x) (x: 1 to 2)
Meas > AUX Input 1 or AUX Input 2 > Sweep Port
:CALCulate{[1]-160}:PARameter:TNAMe:SPORt <string>,<numeric>
:CALCulate{[1]-160}:PARameter:TNAMe:SPORt? <string>
{value}<newline><^END>
10 OUTPUT 717;":CALC1:PAR2:TNAM:DATA ""DUPTRACE"""
20 OUTPUT 717;":CALC1:PAR:TNAM:DEF ""DUPTRACE"", B"
30 OUTPUT 717;":CALC1:PAR:TNAM:SPOR ""DUPTRACE"", 2"
40 OUTPUT 717;":CALC1:PAR:TNAM:SPOR? ""DUPTRACE"""
50 ENTER 717;A