Isasanalyzer::loadglobalgenoptions – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 29
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
23
SASAnalyzer Object
Teledyne LeCroy
ISASAnalyzer::LoadGlobalGenOptions
HRESULT LoadGlobalGenOptions (
[in] BSTR bstrGenOptionsFile,
[out, retval] BOOL* pbRetval)
This function loads the global generator options.
Parameters
bstrGenOptionsFile
String providing the full pathname to a generator options file;
Return Value
pbRetval
This function returns a BOOL value. This value shows whether the
load is done successfully or not.
Remarks
If any SAS/SATA Protocol Suite file has its own generator options, calling this function will
not change its options otherwise, it will load the specified options file and will set it as its
generator options.
Example
VBScript:
On Error Resume Next
Analyzer.LoadGlobalGenOptions("E:\MyGenOptions.gen")
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If