3 scriptmanager, Class, 3 scriptmanager class – Teledyne LeCroy Automation API for Bluetooth Exercisers User Manual
Page 13

CATC
Automation API for CATC Bluetooth Exercisers
Manual Version 1.01
10
The application is running in GUI mode or there is another automation client accessing
the tools.
BTAPP_STATUS_HARDWARE_ERROR
The hardware is missing or failed to initialize.
BTAPP_STATUS_NEEDS_BTTRACER
BTTrainer was invoked without first running BTTracer.
Requirements:
BTTrainer 2.01
2.2.12 OnStatusChanged Connection Callback
HRESULT OnStatusChanged( EBTAppStatus status )
This function is called when the value of the Status property changes.
EBTAppStatus status [in]:
The new value of the Status property.
Requirements:
BTTrainer 2.01
2.2.13 OnScriptRunComplete Connection Callback
HRESULT OnRunComplete( VARIANT result, BSTR warnings )
Called when a script stops running. This function will only be called when the
ScriptManager tool is open.
VARIANT result [in]:
The return value of the completed script. See Section: VARIANTs and CSL CValues.
BSTR warnings [in]:
Run time warnings generated by script execution. Empty if there were no warnings.
Requirements:
BTTrainer 2.01
2.3 ScriptManager Class
The ScriptManager object is returned by a successful call to
BTExerciser.OpenScriptManager. This object supports the IScriptManager dispatch
interface as well as the ISupportErrorInfo interface.