Summary – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 147
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using Trainer 147
CSasAPISrvs::StopGeneration ()
Prototype
HRESULT StopGeneration ()
Usage
Inputs
None
Return Value None
Description
Call the StopGeneration () function of SAS API Service to stop any
running trainer project.
CSasAPISrvs::ResumeGeneration ()
Prototype
HRESULT ResumeGeneration ()
Usage
Inputs
None
Return Value None
Description
Call the ResumeGeneration () function of SAS API Service to resume any
paused trainer project.
Summary
Using a Trainer API involves a stage-by-stage process of Setup and Initialize Application, Connect
to the board, Start Trainer and Stop Trainer/Resume Trainer:
Stages involved in using Trainer API
Corresponding Function Calls
Setup and Initialize API Application
Create Instances of SAS API Service
and SAS General Service
Initialize Trainer System
CreateInstance()
QueryInterface()
CSASGeneralService::InitializeSystem ()
Connect to Board
CSASGeneralService::Attach ()
Start a Trainer Project
CSasAPISrvs::StartGeneration ()
CWnd::SetTimer ()
OnTimer ()
Stop a running Trainer Project
CSasAPISrvs::StopGeneration ()
Resume a paused Trainer Project
CSasAPISrvs::ResumeGeneration ()