beautypg.com

4 iuwbanalyzer2::resumegeneration, Iuwbanalyzer2::resumegeneration – Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 30

background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

26

3.2.4 IUwbAnalyzer2::ResumeGeneration


HRESULT ResumeGeneration ();

Resumes the generation paused by the PauseGeneration command.

Parameters


None

Return values

ANALYZERCOMERROR_ANALYZERNOTCONNECTED

Analyzer is not connected


ANALYZERCOMERROR_WRONGCALL

Analyzer is not paused

Remarks

Resumes the generation paused by the PauseGeneration method. The generation returns to the
running state from the paused state.

Example


Wsh:

Set

Analyzer = WScript.CreateObject("CATC.UWBAnalyzer", "Analyzer_")


'Tell the CATC UWB analyzer to start generation.

Analyzer.StartGeneration "example.uwbg"
WScript.Sleep 3000

'Tell the analyzer to stop recording.

Analyzer.PauseGeneration()
WScript.Sleep 3000
Analyzer.ResumeGeneration()


VBScript:

RUNAT=Server
ID = Analyzer
CLASSID = "clsid:EE43DE29-65CA-4904-B111-32919E00D061"

>