PLTSDocument Object


Description

The PLTSDocument object contains open PLTS data sets, or files. When you open a document or create a new document, you create a new PLTSDocument, which is added to the documents collection in PLTS.

Accessing the PLTSDocument object

Use the OpenFile, ImportFile, or NewFile commands to access the PLTSDocument object.

Dim pltsapp As Object

Dim pltsDoc As Object

Dim pltsView1 As Object

Set pltsapp = CreateObject("PLTS.Application")

filePath = "C://Program Files//Keysight//PLTS_4.2//data//[DEMO] E8364B 12-port 10MHz-20GHz.dut"

pltsapp.OpenFile filePath, FREQ_SNGL, pltsDoc, pltsView1

Exporting Data

Beginning with PLTS 2012, Frequency or Time domain data can be remotely exported ONLY in text format (tab delimited or comma delimited).

There are two methods used to export each domain type.

Frequency domain data

  1. ExportFreqDomainTextFile Method -  the parameters are specified in the function.

  2. ExportFreqDomainTextFileWithSpecifiedDefaults Method - the parameters are specified with the following properties:

ExportFreqDomainTextFileDataFormat

Sets and reads the data format in which data is exported.

ExportFreqUnit

Sets and reads the units in which data is exported.

ExportStartFreqMHz

Sets and reads the Start Frequency to export when Subset of data is selected.

ExportStepFreqMHz

Sets and reads the Step Frequency (number of points) to export when Subset of data is selected.

ExportStopFreqMHz

Sets and reads the Stop Frequency to export when Subset of data is selected.

Time domain data

  1. ExportTimeDomainTextFile Method - the parameters are specified in the function.

  2. ExportTimeDomainTextFileWithSpecifiedDefaults Method - the parameters are specified with the following properties.

ExportStartTimeNs

Sets and reads the Start time to export when Subset of data is selected.

ExportStepTimeNs

Sets and reads the Step time to export when Subset of data is selected.

ExportStopTimeNs

Sets and reads the Stop time to export when Subset of data is selected.

ExportTimeDomainTextFileDataFormat

Sets and reads the data format in which data is exported.

ExportTimeUnit

Sets and reads the units in which data is exported.

Common Properties

The following properties are use for both Frequency and Time Domain 'WithSpecifiedDefaults' methods:

ExportDataRange

Sets and reads the data range to export (ALL or Subset).

ExportDiffPortMap

Sets and reads the intended differential port map after export.

ExportDutCfgDescription

Sets and reads the description of the DUT configuration after export.

ExportGatedData

Sets and reads whether to export gated data.

ExportInOneFile

Sets and reads whether to export all data in one file or to separate files.

ExportParamList

Sets and reads a comma-delimited list of parameters to export when TextFileDataToExport = Customized.

ExportPortMap

Sets and reads the intended single-ended port map after export.

ExportPortNmbr

Sets and reads the number of DUT ports for which data will be exported.

ExportTextFileDelimiter

Sets and reads the type of text file to export.

TextFileDataToExport

Sets and reads the parameter data to export.

 

The following Methods or Properties are general PLTSDoc commands:

Methods

Interface

Description

Close Method

IPLTSDocument

Closes the document.

Export

IPLTSDocument

Exports data to a disk file.

GetData

IPLTSDocument

Gets S-parameter values from the PLTS.

OpenAnalysisView

IPLTSDocument

Opens a view for the document.

OpenTemplateView

IPLTSDocument

Opens a template view.

SaveAs

IPLTSDocument

Saves the document.

SetData

IPLTSDocument

Set S-parameter values into PLTS.

SetTLineCharacteristics

IPLTSDocument

Sets Transmission Line characteristics.

Properties

 

Description

None

 

 

 

See Also: