# 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2Fkl2FEo1IoGr2tpwXxBP7%2Fimage.png?alt=media&#x26;token=5e9a2eaa-0015-4e37-87b6-c26c583c0a33" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FDholHBsf2WcRJ2qJLG6S%2Fimage.png?alt=media&#x26;token=ad8e4b64-19e1-4aeb-b43e-b91ab721e8e9" alt=""><figcaption></figcaption></figure>

Create New Trigger

<figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FjvXAzG3RPRyQNGBCbk5m%2Fimage.png?alt=media&#x26;token=14f77ae8-7fb6-4e99-97f9-2678452facdd" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F2UlNVqC1ymuvIMt3FnX5%2Fimage.png?alt=media&#x26;token=c539a26b-5159-45cd-b2eb-ed1d1131dc54" 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 %}
