# Duty Cycle/PWM Measurement

To calculate the Duty cycle of a PWM signal, select Duty cycle/PWM in the drop-down box:

<figure><img src="/files/Cktzu1LotDi4ruPSdP04" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/PKZjCtnI53dQPoR591tK" alt=""><figcaption></figcaption></figure>

Set the Rate you wish to measure at:

<figure><img src="/files/g0tqyBbsllyJvV35Qsim" alt=""><figcaption></figcaption></figure>

Select the edge you wish to start measuring the duty cycle on.

<img src="/files/a7KOtuzgVsIE8hAqc4BJ" alt="" data-size="original">or<img src="/files/ljOcxCGwYWbjBOaPNF6M" alt="" data-size="original">according to whether the modulation is on the rising or falling edge:

### Pulse Wave Modulation examples:

#### e.g. 1)     Modulation on the falling edge:

<figure><img src="/files/0JB8ImQFc5AiX79UdWZ5" alt=""><figcaption></figcaption></figure>

#### &#x20;e.g. 2) Modulation on the rising edge:

<figure><img src="/files/i9VrsxB7BDYpy6sEgQeM" alt=""><figcaption></figcaption></figure>

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

* The K-Box will change the CAN message Rate for this measurement to prevent CAN bus overloading.
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
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/duty-cycle-pwm-measurement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
