beautypg.com

Run an analyzer capture project – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 49

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

Using Analyzer API 49

Run an Analyzer Capture Project

To run the newly created capture project, call the Run () function of the Capture Project object

and use the SetTimer () function to check the running status of the hardware in regular

intervals.
(Refer to TestCaptureProject -> TestCaptureProjectView.cpp ->
OnRunButton

().)

m_pICaptureProject->Run ();

SetTimer (IDT_RUN, 1000, NULL);

To manage the running status conditions, declare and implement an OnTimer () function that

includes the hardware status checking functions of the SAS General Service Object, such as