User`s manual

Configuring the Camera
Basler sprint Mono Cameras 189
7.2.3.1 Using the Configuration Set Bulk Data CSR
Saving the Work Configuration Set to a User Set File
As described in Section 6.12 on page 149, the work configuration set resides in the camera’s
volatile memory. Assume that you want to save the parameter values in the current work set to the
UserSet01 file in the camera’s non-volatile memory. To do so, you would follow this procedure:
1. Use a binary write command to write the file name UserSet01 to the Name field of the configu-
ration set bulk data CSR (see page 194).
2. Use a binary write command to set the value of the Control field of the configuration set bulk
data CSR to 0x06. Setting the value to 0x06 initiates a copy function.
This procedure will copy the current work set settings from the camera’s volatile memory into a file
called UserSet01 in the non-volatile memory. Note that any existing data in the file will be
overwritten.
Sample code that illustrates how to save a bulk data file is available from Basler (seeSection 7.4 on
page 204).
Activating a User Set File or the Factory Set File
The process of “activating” a user set file or the factory set file, accomplishes two things:
The values from the activated file are immediately copied into the work set in the camera’s
volatile memory. The camera will now actively use the configuration values that were copied
into the work set.
A link is created between the activated file and the camera’s volatile memory. The values in the
activated file will automatically be copied into the work set whenever the camera is powered up
or reset.
As an example, assume that you have saved a configuration set to the UserSet01 file and that you
want to activate this file. To do so, you would follow this procedure:
1. Use a binary write command to write the file name UserSet01 to the Name field of the configu-
ration set bulk data CSR (see page 194).
2. Use a binary write command to set the value of the Control field in the configuration set bulk
data CSR to 0x05. Setting the value to 0x05 initiates an activate function.
Note
There are four files available in the non-volatile memory to hold saved user
configuration sets: UserSet01, UserSet02, UserSet03, or UserSet04. You
must use one of these file names when you save a user configuration set.