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

Page 28

Advertising
background image

Teledyne LeCroy

SASAnalyzer Object

22

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

ISASAnalyzer::LoadDisplayOptions

HRESULT LoadDisplayOptions (

[in] BSTR do_file_name

[in] short do_layers );

Loads display options that will apply to a trace opened or recorded later.

Parameters

do_file_name

String providing the full pathname to display options file

do_layers

Specifies the mask layer of packet view, which can be a 
combination of these values:

LAYER_LINK (0x0001)                      

//00000000 00000001

LAYER_IDLE (0x0002)                      

//00000000 00000010

LAYER_TRANSPORT (0x0004)            

//00000000 00000100

LAYER_ATA_COMMAND (0x0008)         

//00000000 00001000

LAYER_SCSI_COMMAND (0x0010)           //00000000 00010000

LAYER_SMP_COMMAND (0x0020)           //00000000 00100000

LAYER_TASK_COMMAND (0x0040)         //00000000 01000000

LAYER_DATA_REPORT (0x0080)            

//00000000 10000000

LAYER_QUEUE_COMMAND (0x0100)      //00000001 00000000

LAYER_OOB_SEQUENCE (0x0200)          //00000010 00000000

Return Values

ANALYZERCOMERROR_UNABLELOADDO  Unable to load the display options file

Remarks

Use this method to filter traffic of some type. The display options loaded by this method 
call apply only on trace files opened or recorded after this call.

The display options file is the file with extension .sfl created by the SAS/SATA 
Protocol Suite application by the filter dialog.

Example

See 

ITrace::ApplyDisplayOptions

. 

Advertising