4 irecoptions::setbuffersize – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 53

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

53

5.1.4 IRecOptions::SetBufferSize


HRESULT SetBufferSize (

[in] long buffer_size );


Sets the size of the recording buffer.

Parameters

buffer_size

Size of the recording buffer in bytes

Return values

E_INVALIDARG –

invalid buffer size was specified

Remarks


The default setting is 16 MB for Conventional Recording mode and 120 GB or 12.5 hours
for Spooled Recording Mode.

Example


WSH:

Set Analyzer = WScript.CreateObject("LeCroy.SASAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetBufferSize 2*1024*1024 ' 2 MB

C++:




Advertising