beautypg.com

Setprimitiveinstructionvalue, Setsatapowmnginstructiontype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 504

background image


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

IExerciserEngine 504

SetPrimitiveInstructionValue

BOOL SetPrimitiveInstructionValue (

int nInstructionIndex,

PrimitivesEnum ePrimitiveValue);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

PrimitivesEnum ePrimitiveValue

Primitive value of primitive instruction

(see

PrimitiveEnum

)

Return Value
Returns result of method, whether called by valid index or not.

Remark
Sets value of primitive instruction. Call this method only for primitive instruction.

See Also

GetPrimitiveInstructionValue

SetSATAPowMngInstructionType

BOOL SetSATAPowMngInstructionType (

int nInstructionIndex,

BYTE yPowerMngType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

BYTE yPowerMngType

Power management type


Return Value
Returns result of method, whether called by valid index or not.

Remark
Sets a protocol error corresponding to protocol error index.

See Also

GetSATAPowMngInstructionType