Write-only
About User Preferences

NewFile Method


Description

Create a new measurement using the default user preference settings.

 VB Syntax

plts.NewFile fileName, analysistype, IDoc, IView

Variable

(Type) - Description

plts

(object) - A PLTSApplication object

fileName

(String)  File name of the new measurement.

analysisType

(Short)  Analysis view that is displayed after the new file is created. 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

[out]  Returns a handle to the new IPLTSDocument object.

IView

[out]  Returns a handle to the new IPLTSView object.

Return Type

Object

Default

None

Examples

plts.NewFile "MyDUT", TIME_DIFF, iDoc, iView

C++ Syntax

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

Interface

IPLTSApplication