Write/Read
About Exporting Data

ExportDiffPortMap Property


Description

Sets and reads the CHANGED port mapping for exported text files.

(Use this command ONLY if you change the DUT port mapping in an exported text file.)

Note: Both this command AND ExportPortMap are required to change port mapping for an exported text file.

  • ExportDiffPortMap describes the topology.

  • ExportPortMap describes the PNA to DUT port mapping.

The best and easiest method to create these commands is to manually export the text file.

Then copy the text file header information.

See example below.

To export data, use ExportFreqDomainTextFileWithSpecifiedDefaults Method or ExportTimeDomainTextFileWithSpecifiedDefaults Method.

 VB Syntax

doc.ExportDiffPortMap = portMap

Variable

(Type) - Description

doc

(object) - A PLTSDoc object

portMap

(String) Port map after export. See example below.

Return Type

String

Default

" "  (empty string) - Do NOT change port mapping.

Example

Manually Export data with the following GUI port mapping:

Open the exported text file and copy the header information:

Command string:

doc.ExportDiffPortMap = "1|2P|2|2P|0|UC|0|UC|"

doc.ExportPortMap = "2|1|<<<<<<|1|2|>>>>>>|3|3|<<<<<<|4|4|>>>>>>|"

C++ Syntax

HRESULT get_ExportDiffPortMap(BSTR *Value);

HRESULT put_ExportDiffPortMap(BSTR Value);

Interface

IPLTSDoc