Isasanalyzerevents::onstatusreport – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 145

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
139
SASAnalyzer Object Events
Teledyne LeCroy
_ISASAnalyzerEvents::OnStatusReport
HRESULT OnStatusReport (
[in] short subsystem,
[in] short state,
[in] long percent_done );
Fires when there is a change in analyzer state or there is a change in progress
(percent_done) of analyzer state.
Parameters
subsystem
Subsystem sending event has the following values
RECORDING_PROGRESS_REPORT ( 1 ) Recording subsystem
GENERATION_PROGRESS_REPORT ( 2 ) Generation subsystem
\
state
Current analyzer state has the following values:
If the subsystem is
RECORDING_PROGRESS_REPORT:
ANALYZERSTATE_IDLE (-1 ) = idle
ANALYZERSTATE_WAITING_TRIGGER ( 0 )= recording in progress, analyzer
waiting for trigger
ANALYZERSTATE_RECORDING_TRIGGERED ( 1 ) =
recording in progress,
analyzer triggered
ANALYZERSTATE_UPLOADING_DATA ( 2 )
=
uploading in progress
ANALYZERSTATE_SAVING_DATA ( 3 )
=
saving data in progress
If the subsystem is
GENERATION_PROGRESS_REPORT:
ANALYZERSTATE_GEN_IDLE ( 400 ) = idle
ANALYZERSTATE_GEN_DOWNLOADING ( 401 ) = generator is downloading
object code
ANALYZERSTATE_GEN_GENERATING ( 402 ) = generator is working
ANALYZERSTATE_GEN_PAUSED ( 403 ) = generator is paused
percent_done
Shows the progress of currently performing operation: