11 ifwanalyzer::enableconfigrom, Ifwanalyzer::enableconfigrom – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 27

Advertising
background image

23

FireInspector Automation User’s Manual

CATC

Version 1.0

2.3.11 IFwAnalyzer::EnableConfigROM

Sets config ROM that the FireInspector will return to either the default config ROM or to
the minimal config ROM.

Syntax

HRESULT EnableConfigROM (

[in] BOOL bEnable );

Parameters

bEnable

– boolean flag that specifies which config ROM FireInspector should return

• When

bEnable

is

FALSE

, the default config ROM will be disabled and the

minimal config ROM will be used instead.

• When

bEnable

is

TRUE

, the default config ROM will be enabled and config ROM

queries to FireInspector will return the default config ROM.

Return values

NOERROR

– success

E_FAIL

– an error is encountered

Remarks
This method sets the FireInspector to return either the default config ROM when

bEn-

able

=

FALSE

, or the minimal config ROM when

bEnable

=

TRUE

.

Example

WSH:

C++:

IFwAnalyzer* fw_analyzer;

...

try

{

fw_analyzer->EnableConfigROM( TRUE );

}

catch ( _com_error& er)

{

::MessageBox( _T( "The analyzer device is not connected!"

) );

}

Advertising