beautypg.com

Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 38

background image


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

Initialize Your Application 38

Set a valid path for the output file of your application

Set output file location to the \API folder of your installed SAS/SATA Protocol Suite or STX

Software (for example, C:\\Program Files\...\SAS_XX\API). For reference, check the project

settings page (ProjectMenu -> Properties -> OutputDirectory) of any current API Example.











Declare two required objects in main class of your application

Declare two smart pointers) for Data Block and SAS General Service) in the main class of your

program.

IDataBlocksPtr

m_pDataBlocks;

ISASGeneralServicePtr

m_pIGeneralSrvPtr;