4 isasanalyzer::stopgeneration – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 15

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

15

3.1.4 ISASAnalyzer::StopGeneration

HRESULT StopGeneration ( );

Stops any generation in progress.

Parameters


Return values

ANALYZERCOMERROR_UNABLESTARTGENERATION –

unable to stop generation (invalid state, etc.)

Remarks


Example

C++:

ISASAnalyzer* poAnalyzer;

. . .

try
{

poAnalyzer->StopGeneration();

}
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;

}

Advertising