beautypg.com

Initialize – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 174

background image


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

STCompliance API 174

Initialize

This function changes STCompliance settings. If this function is not called, the system uses the

default settings. To change settings, call this function only after attaching to the board.

Initialize (BOOL bDeviceIsATAPI,
BOOL bUTDIs14,
BSTR bstrRTFName,
BSTR bstrDeviceName,
BOOL bIsSSDDrive,
BSTR bstrComplianceTracesPath,
BOOL bSaveOnlyFailed,
BOOL* pbRetVal)


bDeviceIsATAPI: Specifies the device type as a boolean:

TRUE = ATAPA device (default)
FALSE = ATA device

bUTDIs14: Indicates the UTD version:

TRUE = UTD 1.4 specification (default)

FALSE = UTD 1.3 specification

bstrRTFName: Specifies the RTF file name as a string. This RTF file contains the results.

Default is system path.

bstrDeviceName: Is the device name. Default is device ID.

bIsSSDDrive: Specifies whether the device is an SSD drive (default) or not.

bstrComplianceTracesPath: Specifies the path for all trace files and the RTF file.

Default is system path.

bSaveOnlyFailed: Specifes whether to save failed traces or not:

TRUE = save only failed test traces (default)
FALSE = do not save failed traces

pbRetVal: Is the return value of the function.