---
title: "Example scripts"
canonical: "https://help.vicon.com/space/Evoke18/397970225/Example%20scripts"
format: markdown
---
You can find example scripts showing the use of common API functions at:

*C:\Program Files\Vicon\Evoke1.#\SDK\Python\sample_scripts*      

(where *#* is the point number of the latest release)

All the scripts have documentation and take a `--help` option that gives details of the relevant arguments.

To run a sample script, open a command window or power shell in the scripts folder above. You can do this in one of these ways:

- Open the command prompt and change your directory to the scripts folder:

```plaintext
c:\> cd C:\Program Files\Vicon\Evoke1.8\SDK\Python\sample_scripts
```

or

- SHIFT+right-click in the scripts folder and select *Open command window here* or *Open Powershell window here*.

From here you can run the example script of your choice.

The following examples use the command window.

> Macro (scroll-pagebreak)

### camera_calibration_wave.py

This script demonstrates how to use API functions to control the calibration process of starting and stopping the wand wave.

```plaintext
C:\Program Files\Vicon\Evoke1.8\SDK\Python\sample_scripts> py camera_calibration_wave.py
```

If successful, calibration controls are displayed.

> ![Calibration_API_Controls.PNG](media://203ac321-ff14-403e-a66f-49e97f0313cb)

### capture_control.py

This script shows how to capture live data.

```plaintext
C:\Program Files\Vicon\Evoke1.8\SDK\Python\sample_scripts> py capture_control.py
```

> ![image-2023-5-25_19-57-36.png](media://55fcc9e8-2368-4f08-8ee0-e2be42dc2fb9)

The Capture name is listed before the controls. To change the capture name, use `capture_services` and `SetCaptureName`.

For questions on using the Evoke API, contact [Vicon Support](mailto:support@vicon.com).