beautypg.com

1 igenoptions::load, Loads generation options from the specified file, Parameters – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 90: Return values, Remarks, Example, Igenoptions::load

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

85

6.1.1 IGenOptions::Load


HRESULT Load (

[in] BSTR file_name )


Loads generation options from the specified file.

Parameters

file_name

String that provides the full pathname to the generation options file

Return values

ANALYZERCOMERROR_UNABLEOPENFILE

Unable to open file

Remarks


Example


WSH:

CurrentDir = Left( WScript.ScriptFullName, InstrRev( WScript.ScriptFullName, “\” ) )
Set Analyzer = WScript.CreateObject( “CATC.PETracer” )
Set GenOptions = Analyzer. GetGenerationOptions
GenOptions.Load( CurrentDir & "Input\gen_options.gen" )

C++: