Iswritecommand, Setenablepatterngenerator – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 467

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 467
IsWriteCommand
BOOL IsWriteCommand (
short iLayerID,
int nPacketIndexInLayer);
Inputs
short iLayerID
Layer ID of a packet (see
int nPacketIndexInLayer
Index of a packet corresponding to layer ID.
Return Value
Specifies whether a packet is a write command or not.
Remark
Returns TRUE if a packet corresponding to nPacketIndexInLayer and iLayerID parameters is
Write command. Otherwise, returns FALSE
See Also
SetEnablePatternGenerator
long SetEnablePatternGenerator (
BOOL newVal);
Inputs
BOOL newVal
Run pattern generator or exerciser.
Return Value
Returns the Error Code if an error occurs.
Remark
Set exerciser project mode to run exerciser or pattern generator. TRUE shows run pattern
generator, and FALSE shows run exerciser.
See Also