beautypg.com

Initializesystem, Ishwrunning, Isexerciserrunning – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 372

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ISASGeneralService 372

InitializeSystem

BOOL InitializeSystem (

BSTR bstrCurrentDirectory);


Inputs
BSTR bstrCurrentDirectory

Current directory of your application.


Return Value
Returns TRUE if system is initialized without error. Otherwise, FALSE.

Remark
Initializes all required settings of software and sets the default directory.
The ShutdownSystem method can deallocate all memory in the last step.

NOTE: The System folders must be in the parent folder of the bstrCurrentDirectory path.

IsHWRunning

BOOL IsHWRunning ();


Inputs

Return Value
TRUE if analyzer is running successfully. Otherwise, FALSE.

Remark
Indicates whether the analyzer is running or not. If the analyzer is running, this function returns

TRUE. Otherwise, FALSE.