Teledyne-lecroy FireInspector Automation Application Programming I Manual do Utilizador Página 57

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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++:
Vista de página 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 91 92

Comentários a estes Manuais

Sem comentários