> For the complete documentation index, see [llms.txt](https://docs.influxtechnology.com/support_guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.influxtechnology.com/support_guides/k-series-product-manual/k-series-product-manual/k-box-product-manual/configuring-the-k-box/using-the-k-cal-software/configuring-the-digital-channels/event-measurement.md).

# Event Measurement

To count digital events, select Event Counter in the drop-down box:

<figure><img src="https://1039220062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRhWtYvkHNZy7Jvdnc3wk%2Fuploads%2FUD2DdwQNK1PjyPb6dJPS%2Fimage.png?alt=media&amp;token=a38104f7-57f2-40af-82a0-2bffaab00a2c" alt=""><figcaption></figcaption></figure>

Also, set the CAN ID where The K Box will transmit the result.

<figure><img src="https://1039220062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRhWtYvkHNZy7Jvdnc3wk%2Fuploads%2F7FyLLZOBa1IiouoTfRNM%2Fimage.png?alt=media&amp;token=e3239623-505b-4a8f-a424-766f0cce92cf" alt=""><figcaption></figcaption></figure>

Set the Rate you wish to measure at:

<figure><img src="https://1039220062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRhWtYvkHNZy7Jvdnc3wk%2Fuploads%2FUiZuPSdiA9YGv64muRDU%2Fimage.png?alt=media&amp;token=882c3ff9-2030-4949-9c26-0ca478e8eeb3" alt=""><figcaption></figcaption></figure>

Select the edge on which you wish to start measuring the events.

<img src="https://1039220062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRhWtYvkHNZy7Jvdnc3wk%2Fuploads%2F8gys3GP4kdlytWmGdSE7%2Fimage.png?alt=media&amp;token=599ce723-ecb6-4147-ac76-f43c0a5ab054" alt="" data-size="original">or <img src="https://1039220062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRhWtYvkHNZy7Jvdnc3wk%2Fuploads%2F7rgx17youTDm9pbUtVXh%2Fimage.png?alt=media&amp;token=ca2cdc0b-2d5e-491a-88f7-85185a2815ac" alt="" data-size="original">according to whether the Modulation is on the rising or falling edge:

{% hint style="info" %}
**Notes:**

* The Event counter will be reset if the K-Box is power cycled or loaded with a new configuration.
  {% endhint %}

The Event counter will be incremented on any received registered event edge.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.influxtechnology.com/support_guides/k-series-product-manual/k-series-product-manual/k-box-product-manual/configuring-the-k-box/using-the-k-cal-software/configuring-the-digital-channels/event-measurement.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
