StopAcqui
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Note The relevant CAPL block must appear directly before theFrame Histogramin the evaluation branch. Otherwise a warning is output in theWrite Window.
Syntax
void stopStatisticAcquisition()
Function
A started acquisition range is stopped with this function. If no acquisition range has been started yet, this function has no effect.
Parameters
—
Return Values
—
Reference example from the CANoe 12 help. This is an incomplete context fragment: omitted surrounding code is shown as comments. Do not paste it as a complete program.
// ... surrounding context omitted
// Tests for running acquisition range and stops it.
// If no statistical data acquisition is active a new one is started.
if(isStatisticAcquisitionRunning())
{
// Stops the running acquisition range
stopStatisticAcquisition();
}
else
{
// Starts a new acquisition range
startStatisticAcquisition();
}
// ... surrounding context omitted
Related APIs
isStatisticAcquisitionRunning | startStatisticAcquisition