Getavailablehwresource, Getcapturefistype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 216

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 216
GetAvailableHWResource
GetAvailableHWResource (
PatternTypeEnum ePatternType,
short iUsingType,
VARIANT *vtDirection,
VARIANT *vtSubChannelDirection);
Inputs
PatternTypeEnum ePatternType
Pattern Type ID
(see
short iUsingType
Using type of the pattern (capture, trigger).
VARIANT *vtDirection
Direction of pattern.
This variant is a ByteArray type.
Direction of all boards is in this ByteArray.
VARIANT *vtSubChannelDirection Sub Channel Directions of pattern.
This variant comes from a ByteArray type.
This Byte Array contains Sub Channel direction of all
boards as byte.
This parameter is for the muxing feature. If Muxing feature
is disabled, Insert zero to the byte array for Sub Channel
directions. Size of this array is equal to Size of Direction
array.
Return Value
Returns all available Resources in each port.
Remark
Hardware resources for all patterns are based on direction of the pattern, Returns all available
hardware resources in each direction. Bit0: I1. Bit1: T1. Bit2: I2.