7 irecoptions::setdatatruncate, 8 irecoptions::setautomerge, Irecoptions::setdatatruncate – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 107: Irecoptions::setautomerge

Advertising
background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

107

7.1.7 IRecOptions::SetDataTruncate


HRESULT SetDataTruncate (

[in] long length );


Sets the flag indicating that recorded data is to be truncated and sets the length of data to truncate.

Parameters

length

Length of data in bytes; cannot be less then 108

Return values


Remarks


By default, data is not truncated.

Example


WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.USBTracer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetDataTruncate 345 ' Truncate data that is more then 345 bytes long.

C++:



























7.1.8 IRecOptions::SetAutoMerge

Advertising