beautypg.com

Settriggersource, Setwaitforhandshake – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 511

background image


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

IExerciserEngine 511

SetTriggerSource

int SetTriggerSource (

short iLayerID,

int nPacketIndexInLayer,

TriggerSourceEnum eTriggerSource);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

TriggerSourceEnum eTriggerSource

Trigger source for a packet (see

TriggerSourceEnum

).


Return Value
Returns the Error Code if an error occurs.

Remark
Sets type of trigger source for a packet:

Immediate, Wait for External trig, or Wait for Analyzer trig.

See Also

GetTriggerSource