12 ifwanalyzer::loadconfigrom, Ifwanalyzer::loadconfigrom – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 28

Advertising
background image

24

FireInspector Automation User’s Manual

CATC

Version 1.0

2.3.12 IFwAnalyzer::LoadConfigROM

Loads the config ROM specified by filename and enables it.

Syntax

HRESULT LoadConfigROM (

[in] BSTR filename );

Parameters

BSTR filename

– filename of saved config ROM to be displayed

Return values

NOERROR

– success

E_FAIL

– an error is encountered

Remarks

Example

WSH:

C++:

IFwAnalyzer* fw_analyzer;

...

try

{

HRESULT hr = m_poFwAnalyzer->LoadConfigROM( ( LPCTSTR )

m_csROMFile );

}

catch( _com_error& )

{

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

) );

}

Advertising