
AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite 23
SASAnalyzerObject
TeledyneLeCroy
ISASAnalyzer::LoadGlobalGenOptions
HRESULT LoadGlobalGenOptions (
[in] BSTR bstrGenOptionsFile,
[out, retval] BOOL* pbRetval)
Thisfunctionloadstheglobalgeneratoroptions.
Parameters
bstrGenOptionsFile Stringprovidingthefullpathnametoageneratoroptionsfile;
ReturnValue
pbRetval ThisfunctionreturnsaBOOLvalue.Thisvalueshowswhetherthe
loadisdonesuccessfullyornot.
Remarks
IfanySAS/SATAProtocolSuitefilehasitsowngeneratoroptions,callingthisfunctionwill
notchangeitsoptionsotherwise,itwillloadthespecifiedoptionsfileandwillsetitasits
generatoroptions.
Example
VBScript:
On Error Resume Next
Analyzer.LoadGlobalGenOptions("E:\MyGenOptions.gen")
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If
Comentarios a estos manuales