# Using Digital Switch to Start Logging in a Rebel Logger

Right-click Digital 0 (The Digital Switch is connected to Digital Input 0).

Select Add Item to Trigger.

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

Create a start condition with Parameter 3 as <.

So, in this case, the condition is true when the Digital In 0 changes from 1 to 0.

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

Create New Trigger

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

* Provide a name for the trigger.
* Select the action as Start.
* Options as Continuous.
* Select the condition which was made in Step 3.
* Provide a debounce of a few milliseconds so that it won’t consider sudden changes in the switch that happen rapidly due to any issue with the switch.

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

With the above settings, the logger will start logging when the switch is pressed.

{% hint style="info" %}

#### Notes:

* Other actions, sample methods, options, and pre-log time are available.
* Ensure the trigger functionality is appropriately checked before sending the vehicle for trial.
* You can connect a Push-Button switch between PIN 9 and PIN 11 of the Multiconnect Cables Dig & Analog connector.
  {% 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/dialog-user-guide/quick-start-guide/using-digital-switch-to-start-logging-in-a-rebel-logger.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.
