Teledyne-lecroy FireInspector Automation Application Programming I User Manual Page 57

  • Download
  • Add to my manuals
  • Print
  • Page
    / 92
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 56
53
FireInspector Automation User’s Manual
CATC Version 1.0
2.5.4 IRecOptions::SetBufferSize
Sets the size of buffer to record.
Syntax
HRESULT SetBufferSize (
[in] long buffer_size );
Parameters
buffer_sizebuffer size in bytes
Return values
E_INVALIDARGinvalid buffer size was specified
Remarks
This command sets the size of the buffer allocated in the internal memory of the system.
Notice that because of internal architecture considerations, the buffer size may be set to a
greater value than actually requested.
Note: If you set the buffer size to 2*1024, the Recording Options dialog box in the FireIn-
spector trace viewer software will display 2.2 MB.
The default setting is 1Mb.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetBufferSize 2*1024*1024 ' 2Mb
C++:
Page view 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 91 92

Comments to this Manuals

No comments