CAPL Script

IsAcqui

Note The relevant CAPL block must appear directly before theCANoeFrame Histogramin the evaluation branch. Otherwise a warning is output in theWrite Window.In theCANoeConfiguration dialogtheStatistics reportandhistogram evaluationscheck box must be activated. You open this dialog with theConfigurationshortcut menu command of the Frame Histogram in the Measurement Setup.

Syntax

int isStatisticAcquisitionRunning()

Function

This function is used to test whether an acquisition range has already been started.

Parameters

Return Values

The function returns 1 if an evaluation is already running. Otherwise it returns 0.

Statistical Evaluation (StatisticAcquisition) ...// 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 rangestopStatisticAcquisition();}else{// Starts a new acquisition rangestartStatisticAcquisition();}...

startStatisticAcquisition | stopStatisticAcquisition