Write-only
About File Save / Open

OpenFile Method


Description

Open an existing data set file.

 VB Syntax

plts.OpenFile fileName, analysisType, IDoc, IView

Variable

(Type) - Description

plts

(object) - A PLTSApplication object

fileName

(String)  Full path, file name, and suffix of the file to open.

anaysisType

(Short)  Analysis view that is displayed after the file is opened. Provide either the number or enumeration type depending on your programming environment.

0 - TIME_DIFF  (Time domain differential)

1 - TIME_SNGL  (Time domain single-ended)

2 - FREQ_BAL  (Frequency domain balanced)

3 - FREQ_SNGL  (Frequency domain single-ended)

4 - EYE_DIFF  (Eye diagram differential)

5 - EYE_SNGL  (Eye diagram single-ended)

6 - RLCGD  (RLCG differential)

7 - RLCGC  (RLCG common)

8 - RLCGWE  (RLCG W element)

9 - RLCGSM  (RLCG self mutual)

IDoc

(Object) [out] Handle to the PLTSDocument Object

IView

(Object) [out] Handle to the PLTSView Object

Return Type

None

Default

None

Examples

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

C++ Syntax

HRESULT OpenFile(BSTR fileName, SHORT analysisType, IDispatch** ppDoc, IDispatch** ppView);

Interface

IPLTSApplication