7 irecoptions::setdatatruncate, Irecoptions::setdatatruncate – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual
Page 60
Advertising

56
FireInspector Automation User’s Manual
CATC
Version 1.0
2.5.7
IRecOptions::SetDataTruncate
Sets the flag indicating that recorded data is to be truncated and the length of data to trun-
cate.
Syntax
HRESULT SetDataTruncate (
[in] long length );
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.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetDataTruncate 345 ' truncate data that is more
then 345 bytes long
C++:
Advertising