Summary – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 133
![background image](/manuals/353624/133/background.png)
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using Target/Device Emulator API Functions 133
STDMETHOD
(SetCOMINITIdleTime) (
/*[in]*/
int
nIdleTime,
/*[out]*/
int
* pnErrorCode);
STDMETHOD
(SetCOMINITNegationTime) (
/*[in]*/
int
nNegationTime,
/*[out]*/
int
* pnErrorCode);
STDMETHOD
(SetCOMINITBurstTime) (
/*[in]*/
int
nBurstTime,
/*[out]*/
int
* pnErrorCode);
STDMETHOD
(SetCOMINITBurstCount) (
/*[in]*/
BYTE yBurstCount);
Usage
();
Return Value None
Description Call the respective functions to Modify common settings of a SAS or
SATA Target Emulator Project
Summary
Using a Target/Device Emulator API (SAS and SATA) involves a stage-by-stage process of Create,
Open, and Modify of a Target Emulator Engine project:
Stages involved in using Target Emulator API
Corresponding Function calls
Initialize and Create a NEW Target Emulator
Project
CTargetEmulEngine::CreateInstance ()
Open a saved Target Emulator
Project
CTargetEmulEngine::Load ()
Modify an Existing Target Emulator Project
Modify Pages
Set/ Modify Error Injection
CTartgetEmulEngine::SetFieldStream ()
CTartgetEmulEngine::SetIdentifyDeviceFieldStream ()
CTartgetEmulEngine::QueryInterface ()
ITargetEmulatorErrorInjection::SetDataBlock ()