Property (Read-Write)
SCPI.CALCulate(Ch).PARameter(Tr).SPORt = Value
Value = SCPI.CALCulate(Ch).PARameter(Tr).SPORt
This command sets/gets the output port used for absolute for the selected trace (Tr) of the selected channel (Ch).
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 measurements with the SCPI.CALCulate(Ch).PARameter(Tr).DEFine command. |
Dim Sport As Long
SCPI.CALCulate(1).PARameter(1).DEFine = "B"
SCPI.CALCulate(1).PARameter(1).SPORt = 2
Sport = SCPI.CALCulate(1).PARameter(1).SPORt
SCPI.CALCulate(Ch).PARameter(Tr).DEFine
Meas > Absolute > A(x) , B(x), R1(x), R2(x) (x: 1 to 2)
:CALCulate{[1]-4}:PARameter{[1]-4}:SPORt <numeric>
:CALCulate{[1]-4}:PARameter{[1]-4}:SPORt?
{numeric}<newline><^END>
10 OUTPUT 717;":CALC1:PAR1:DEF B"
20 OUTPUT 717;":CALC1:PAR1:SPOR 2"
30 OUTPUT 717;":CALC1:PAR1:SPOR?"
30 ENTER 717;A