Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 83

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

77

SASTrace Object

Teledyne LeCroy

C++:
ISASTrace* sas_trace;
. . .
ISASAnalyzerErrors* analyser_errors;
try
{
analyser_errors = sas_trace-

>AnalyzerErrors(error_type).Detach();

}
catch (_com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("SASTracer

client"), MB_OK );

else
::MessageBox( NULL, er.ErrorMessage(),_T("SASTracer

client"), MB_OK );

return 1;
}
. . .
analyser_errors->Release();

Advertising