Write/Read

ECALPortMap Property - Superseded


Description

Note: This command is replaced by ECALPortMapEx

Specifies which ports of the ECal module are connected to which ports of the PNA for the DoECAL1Port and DoECAL2Port methods when the OrientECALModule property = False.

 VB Syntax

cal.ECALPortMap = value

Variable

(Type) - Description

cal

A Calibrator (object)

value

(string)

(string) -Format this parameter in the following manner:

Aw,Bx,Cy,Dz

where

  • A, B, C, and D are literal ports on the ECAL module

  • w,x,y, and z are substituted for PNA port numbers to which the ECAL module port is connected.

Ports of the module which are not used are omitted from the string.

For example, on a 4-port ECal module with

  • port A connected to PNA port 2

  • port B connected to PNA port 3

  • port C not connected

  • port D connected to PNA port 1

the string would be: A2,B3,D1

 

DoECAL1Port or DoECAL2Port methods will fail if the port numbers passed to those methods are not in the string of this property and OrientECALModule property = False.

Return Type

String

Default

Not Applicable

Examples

Dim cal As Calibrator
Dim sPortMap As String
Set cal = PNAapp.ActiveChannel.Calibrator
cal.ECALPortMap = “a2,b1” 'Write
sPortMap = cal.ECALPortMap 'Read

C++ Syntax

HRESULT put_ECALPortMap(tagNAECALModule ecalModule, BSTR strPortMap);

HRESULT get_ECALPortMap(tagNAECALModule ecalModule, BSTR *strPortMap);

Interface

ICalibrator3