Open ujrm opened 3 months ago
Clarius Update, new documentation in development branch - tag 11.4
/// imaging callback function
/// used primarily to denote 4 different scenarios:
/// 1. when imaging is ready after an application load or parameter update (ImagingReady state)
/// 2. when there is an error after trying to load an application or updating a parameter (ImagingNotReady state)
/// 3. when the low bandwidth flag has changed to denote that imaging has been re-optimized for the network performance (LowBandwidth state)
/// 4. when the probe has frozen or unfrozen due to an internal state change (all other states)
/// @param[in] state the imaging state
/// @param[in] imaging 1 = running , 0 = stopped
typedef void (*CusImagingFn)(CusImagingState state, int imaging);
It was not clear before that this function is NOT called when there is a user run/stop change made via the solumRun() function. It may be looked at in the future to update functionality.
Is there any way for us to query the SDK to know if the probe is imaging or not?
will now use callback for when SDK layer manually calls run/stop, redundant user call to imagingState() in example code removed.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
setImagingCallback
is called twice, both reporting thestate
andimageRunning
correctly.setImagingCallback
is not called.setImagingCallback
is called, reporting thestate
andimageRunning
correctlyEnvironment: