Skip to main content

valueHandle::GetUpdateCount (obsolete)

Valid for: CANoe DE

Method Syntax

dword valueHandle::GetUpdateCount();

Description

Returns the update count of the value. The update count is reset to zero at start of measurement and with each call to valueHandle::ResetValueState. It is then increased each time the value is updated, even if the value does not change. For some values, the count is only initialized when the value is accessed the first time for performance reasons. This means that if you want to use it as a ‘global’ count over the whole measurement, you should call valueHandle::ResetValueState at the start of the measurement explicitly.

Parameters

—

Return Values

The current update count.

Example

Programming with the Communication Concept (C#, Python and CAPL) • valueHandle::GetChangeCount • valueHandle::ResetValueState