beautypg.com

7 irecoptions::setdatatruncate, Irecoptions::setdatatruncate – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 62

background image

56

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.5.7 IRecOptions::SetDataTruncate

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

Parameters

length

-

length of data in bytes, could not be less then 108

Return values

Remarks

By default data is not truncating.

Example

WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName,

"\"))

Set Analyzer = WScript.CreateObject("CATC.Merlin")

Set RecOptions = Analyzer.GetRecordingOptions

RecOptions.SetDataTruncate 345' truncate data that is more then 345 bytes

long

C++:

HRESULT SetDataTruncate (

[in] long length );