---
title: "Creating New Camera Settings Files"
product: "LumiScan Cam Driver"
component: "lumiscan-cam-driver"
version: "2.2.1"
display_version: "2.2.1.10"
latest_version: true
language: "en"
url: "https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/lumiscan-camdriver/creating-new-camera-settings-files.html"
---

# Creating New Camera Settings Files – LumiScan Cam Driver

You create a new file with camera settings by copying an existing one under a new name, and then specify the new file name in the application settings (`lumiscan-cam-driver.json`). How to do this depends on the platform.

## On ctrlX OS {#on-ctrlx-os}

You can create a new file with camera settings simply by duplicating an existing file. To do this:

1. Click the triple dots you see to the right of the file name.

2. Select **COPY**

3. The copy file window appears.

4. Set new file name.

5. Confirm with clicking on **Copy.**

6. New camera settings file is created.

7. Now you can specify the newly created file name in the application settings (lumiscan-cam-driver.json):

   ![copywindow](https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/_images/copywindow.png)

   ![cameraexample3dots](https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/_images/cameraexample3dots.png)

8. Save the changes.

   a. Left-click on the lumiscan-cam-driver.json file name.

   b. The JSON settings window will open on the right.

   c. Enter the name in the `configuration` field.

![camdriverjson](https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/_images/camdriverjson.png)

![configurationsdet](https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/_images/configurationsdet.png)

## On a PC {#on-a-pc}

You can create a new file with camera settings by copying an existing one in the settings folder under a new name. Then specify the new file name in the `configuration` field of the application settings (`lumiscan-cam-driver.json`) and restart the Cam Driver.

### Starting from an Example {#starting-from-an-example}

The Cam Driver writes an example of its settings files, together with their schemas, into a folder of your choice, and ends without starting. For example (Windows):

```shell
lumiscan-cam-driver --generate-settings C:\work\cam-driver-settings
```

Without a folder (`-g` alone) it writes into the current folder. The example is the application settings file `lumiscan-cam-driver.json` with one simulated camera, its module file `lumiscan-cam-driver-example-module.json`, and the four schemas in `schemas\` that an editor uses to check them. Existing files are never overwritten: when one of them is in the folder already, nothing is written and the Cam Driver says which.

The Cam Driver then names the folder it reads its settings from. On Windows this is by default `C:\ProgramData\HD Vision Systems GmbH\LumiScan Vision Suite\lumiscan-cam-driver\etc\lumiscan-cam-driver`. Edit the example, copy it there, and start the Cam Driver.

A module can also be added on the Data Layer, on ctrlX OS and on a PC: see [Adding and removing modules](https://docs.hdvisionsystems.com/en/lumiscan-cam-driver/2.2.1/lumiscan-camdriver/settings-on-the-data-layer.html#adding-and-removing-modules).
