Write-only
About Path Configuration

CopyFrom Method


Description

Copies the mechanical switch and attenuator settings from the specified channel to the calling channel.

To avoid potential conflicts, all port couplings in the calling channel will be turned OFF and all port attenuator settings will be set to manual before copying the switch or attenuator settings. The two channels CAN be of different measurement classes.

Use CopyToChannel to copy ALL settings from one channel to another.

 VB Syntax

pathConfig.CopyFrom (chanNum)

Variable

(Type) - Description

pathConfig

A PathConfiguration (object)

chanNum

(long integer) Channel number to copy to the calling channel.

Return Type

None

Default

Not Applicable

Examples

Dim chan,pathConfig

Set chan = app.ActiveChannel

Set pathConfig = chan.PathConfiguration

pathConfig.CopyFrom 2

C++ Syntax

HRESULT CopyFrom(long chanNum);

Interface

IPathConfiguration2


Last modified:

New topic