Isasanalyzer::doselftest – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 47

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

41

SASAnalyzer Object

Teledyne LeCroy

ISASAnalyzer::DoSelfTest

HRESULT DoSelfTest (

[in] int SelfTestType,
[out, retval] int* pnResult)

This function is used to run the self test on the currently connected board and report its 
faults and defects.

Parameters

SelfTestType : 

This parameter specifies the type of the self test. This type can be 
one of these numbers:

1

: SELF_TEST_MEMORY 

2

: SELF_TEST_CLOCK 

3

: SELF_TEST_BUZZER_LED

4

: SELF_TEST_VIRTEX_VIRTEX_BUS_TEST

5

: SELF_TEST_MARVELL

6

:SELF_TEST_VITESSE_VIRTESSE_BUS_TEST

7

: SELF_TEST_VITESSE_EXTERNAL_LOOP_BACK

8

: SELF_TEST_VITESSE_EXPANTION_CARD

0 value for SelfTestType means doing the following tests:

SELF_TEST_MEMORY                      

  

 SELF_TEST_CLOCK                        

  

 SELF_TEST_VIRTEX_VIRTEX_BUS_TEST       

  

 SELF_TEST_MARVELL                      

  

 SELF_TEST_VITESSE_VIRTESSE_BUS_TEST    

   

SELF_TEST_VITESSE_EXTERNAL_LOOP_BACK

   

SELF_TEST_VITESSE_EXPANTION_CARD

Return Value

pnResult

A zero value for this parameter shows that the self test has passed 

and a non‐zero value shows that the self test failed. When the self 
test fails it means that an error or problem has been detected. To 
get more information on the detected problem you can view the 
Self Test Log file. It is in the User folder of the software. 

Remarks

Doing a self test on SELF_TEST_BUZZER_LED and SELF_TEST_VITESSE_EXPANTION_CARD 
needs user interaction during test..

Example

Advertising