3 irecoptions::setrecmode – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 52

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

52

5.1.3 IRecOptions::SetRecMode


HRESULT SetRecMode (

[in] ERecModes rec_mode );


Sets the recording mode.

Parameters

rec_mode

Enumerated value providing the mode to set;
ErecModes enumerator has the following values:

RMODE_SNAPSHOT ( 0 )

snapshot recording mode

RMODE_MANUAL ( 1 )

manual trigger

RMODE_USE_TRG ( 2 )

event trigger

Return values

E_INVALIDARG –

invalid recording mode was specified

Remarks

The default setting of recording options is "snapshot" recording mode.

Example


WSH:

Set Analyzer = WScript.CreateObject("LeCroy.SASAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetRecMode 2 ' Event trigger

C++:




Advertising