
TeledyneLeCroy SASTraceObject
64 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ITrace::ExportToExcel
HRESULT ExportToExcel (
[in] BSTR file_name,
[in] VIEW_TYPE export_view_type,
[in] long from_row,
[in] long to_row);
ExportsSpreadsheetViewandFrameViewtoanExcelfile,whileallowingyoutospecifya
rangeofpackets.
Parameters
file_name Stringprovidingthefullfilepathnamefortheexportedtrace
export_view_typeVIEW_TYPEcanbe:COLUMN_VIEW(0),FRAME_TEXT_VIEW(1)[valid
parameterforthismethod],PACKET_VIEW(2),WAVEFORM_VIEW(3),
ST_REPORT_VIEW(4),SPREAD_SHEET_VIEW(5)[validparameterfor
thismethod],HISTOGRAM_VIEW(6),BUS_UTILIZATION_VIEW(7).
from_row Beginningpacketnumberwhenyouareexportingarangeofpackets.
1=firstpacketoftheexportedtraceisthefirstpacketofthistrace.
to_row Endingpacketnumberwhenyouareexportingarangeofpackets.
1=lastpacketoftheexportedtraceisthelastpacketofthistrace.
ReturnValue
ANALYZERCOMERROR_UNABLESAVE Unabletoexporttracefile
Remarks
UsethismethodifyouwanttoexportarecordedoropenedtraceintoanExcelfile.Ifthe
displayoptionsapplytothistrace,thenhiddenpacketsarenotexported.
Ifthepacketrangespecifiedisinvalid,thenthepacketrangeisadjustedautomatically.
Example
SeeExportToTextexample.
Comentarios a estos manuales