Using catc api, Create an sasanalyzer object, Call the attach function – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 160: Use catc api

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using CATC API 160
Apply Filter
put_DataFilterType ()
put_DataLogicOperator ()
put_IsFilteredDataPayload ()
put_DataFormatType ()
CSerialSCSIExtraction::Filter ()
Search/ Find Packets in a Trace File
CSerialSCSIExtraction::FindPacket ()
Using CATC API
To use the CATC API, connecting to a board is different, but other functionalities are the same.
To connect to a board by the CATC API, use the following procedure:
Create an SASAnalyzer Object
ISasAnalyzerPtr
m_pSasAnalyzer;
m_pSasAnalyzer.CreateInstance(__uuidof(SasAnalyzer));
Call the Attach Function
m_pSasAnalyzer->Attach(yConnectionType, bstrDeviceId,
bstrCurrentDir);
yConnectionType : CEI_CONNECTION_USB or EI_CONNECTION_TCP
bstrDeviceId : Device Id of board.
bstrCurrentDir : Directory of software include system folder.
Now you can call all CATC API functions.