Write-only
About Measurement Parameters

CreateSParameterEx Method - Superseded


Description

Note: This method is replaced by Create SParameter method. The Load port selection is no longer necessary.

Creates a new S-Parameter measurement in an existing or new window and specifies the load port for 3-port devices.

 VB Syntax

app.CreateSParameterEx chan,recvr,source[,loadPort][,window]

Variable

(Type) - Description

app

Application (object)

chan

(long integer) - Channel number of the new measurement.

recvr

(long integer) - Port number of the test port receiver.

source 

(long integer) - Port number of the source.

Note: If the port is defined by a string name, such as an external source, a balanced port, or one of the Source 2 outputs on the 2-port 2-source PNA-x model, then you must use chan.getPortNumber to translate the string into a port number. To learn more see Remotely Specifying a Source Port.

loadPort

(long integer) - Port number of the load. Required for reflection measurements of 3-port devices on multiport PNA models.

window

(long integer) - Optional argument. Choose between 1and the maximum number of windows allowed on the PNA.. See also Traces, Channels, and Windows on the PNA.

If unspecified, the S-Parameter will be created in the Active Window.

Return Type

Not Applicable

Default

Not Applicable

Examples

app.CreateSParameterEx 1,2,1,1 'Creates a new S21 measurement in channel 1 and New window(1)
app.CreateSParameterEx 2,1,1,3,1
'Creates a new S11 measurement on channel 2 with port 3 as the load. Create in the active window

C++ Syntax

HRESULT CreateSParameterEx(long ChannelNum, long RcvPort, long SrcPort, long LoadPort, long windowNumber)

Interface

IApplication


Last modified:

14-Dec-2010

Deprecated per JE.

24-Apr-2008

Modified string names note

9/12/06

Modified for number of windows