Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
136
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 the
Analyzer state.
Parameters
subsystem Subsystem sending event has the following values:
RECORDING_PROGRESS_REPORT ( 1 ) recording subsystem
GENERATION_PROGRESS_REPORT ( 2 ) recording subsystem
state Current Analyzer state; has the following values:
If subsystem is RECORDING_PROGRESS_REPORT:
ANALYZERSTATE_IDLE (-1 ) Idle
ANALYZERSTATE_WAITING_TRIGGER ( 0 ) Recording in progress,
Analyzer is 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
ANALYZERSTATE_RT_UPLOADING_DATA ( 8 ) Recording and uploading data
concurrently
If subsystem is GENERATION_PROGRESS_REPORT:
ANALYZERSTATE_GEN_IDLE ( 400 ) Generator is idle
ANALYZERSTATE_GEN_DOWLOADING ( 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,
(valid only if subsystem is RECORDING_PROGRESS_REPORT):
When Analyzer state is ANALYZERSTATE_IDLE, this parameter is not
applicable,
When Analyzer state is ANALYZERSTATE_WAITING_TRIGGER or
ANALYZERSTATE_RECORDING_TRIGGERED, this
parameter shows Analyzer memory utilization.
When Analyzer state is ANALYZERSTATE_UPLOADING_DATA or
ANALYZERSTATE_RT_UPLOADING_DATA , this parameter
shows the percent of data uploaded.