Skip to main content

kanoa.event.addCountEvent

This function requires KanoaOPS module

Description

Adds a count value to the counterEvent table.

Syntax

addCountEvent(counterId, deltaValue, tStamp)
  • Parameters
      counterId - Counter ID.
      deltaValue (float) - Delta value.
      tStamp (datetime) - Timestamp.
  • Returns
      counterId (int).
  • Code Example

    # Example Usage:
    counterId = 123
    deltaValue = 5.0
    tStamp = timestamp
    system.kanoa.event.addCountEvent(counterId, deltaValue, tStamp)