Write/Read
About Fixturing

PortMatching_R Property


Description

Sets and returns the value for the 'R' (Resistance) circuit element for a port matching circuit model to simulate on port 'n'. The port matching circuit model is selected using PortMatchingCktModel. You can specify R, R1, or R2 based on the selected port matching circuit model. Setting a value not used by the selected circuit will have no affect. Learn more.

There are three steps to set up a port matching circuit model simulation on a specified port:

  1. Select the port matching circuit model to simulate using PortMatchingCktModel.

  2. Set the values for R (Resistance), G (Conductance), C (Capacitance), and L (Inductance) corresponding to the selected port matching circuit model.

  3. Turn the feature on using PortMatchingState to simulate the circuit and compute the measurement as if the circuit were attached to the port.

Note:  This command affects ALL measurements on the channel.

 VB Syntax

fixture.PortMatching_R(port) = value

Variable

(Type) - Description

fixture

A Fixturing (object)

port

(Integer)  Port number to receive resistance value.

value

(Double) Resistance value in ohms. Choose a value between -1E18 and 1E18.

Return Type

Double

Default

0

Examples

fixture.PortMatching_R = .1 'Write

value = fixture.PortMatching_R 'Read

C++ Syntax

HRESULT get_PortMatching_R(short port double *pVal)
HRESULT put_PortMatching_R(short port double newVal)

Interface

IFixturing7