8 isasanalyzer::loaddisplayoptions – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 20

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

20

3.1.8 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
LAYER_IDLE
LAYER_TRANSPORT
LAYER_ATA_COMMAND
LAYER_SCSI_COMMAND
LAYER_SMP_COMMAND
LAYER_TASK_COMMAND
LAYER_DATA_REPORT
LAYER_QUEUE_COMMAND
LAYER_OOB_SEQUENCE

Return values

ANALYZERCOMERROR_UNABLELOADDO

- unable to load the display options file

Remarks

Use this method if you want 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 .opt created by the SASTrainer
application.


Example

See

ITrace::ApplyDisplayOptions

.


Advertising