User`s manual

Configuring the Camera
190 Basler sprint Mono Cameras
This procedure would find the UserSet01 file in the non-volatile memory and would copy the values
in the file into the camera’s volatile memory. It would also create a link to the file so that the values
in the file would be loaded into volatile memory after a reset or a power up.
If you want to activate the factory set, you would following a similar procedure but use FactorySet
as the file name.
Sample code that illustrates how to activate a saved bulk data file is available from Basler (see
Section 7.4 on page 204).
7.2.3.2 Using the Shading Values Bulk Data CSR
Activating the User Shading Values File or the Factory Shading Values File
The process of “activating” the user shading value file or the factory shading value file,
accomplishes two things:
It copies the values from the file into the camera’s volatile memory. This means that the values
will now be actively used by the camera.
It creates a link to the activated file. If the camera is reset or if it is powered off and then back
on, the shading values from the activated file will be loaded into volatile memory of the camera
and actively used by the camera when shading correction is enabled.
As an example, assume that you have generated user shading values and that you want to activate
the user shading values file. To do so, you would follow this procedure:
1. Use a binary write command to write the file name UserShading to the Name field of the shad-
ing value bulk data CSR (see page 195).
2. Use a binary write command to set the value of the Control field in the shading value bulk data
CSR to 0x05. Setting the value to 0x05 initiates an activate function.
This procedure would find the Usershading file in the non-volatile memory and would copy the
values in the file into the camera’s volatile memory. It would also create a link to the file so that the
values in the file would be loaded into volatile memory after a reset or a power up.
If you want to activate the factory shading value file, you would following a similar procedure but
use FactoryShading as the file name.
Sample code that illustrates how to activate a saved bulk data file is available from Basler (see
Section 7.4 on page 204).
Copying the Factory Shading Values File into the User Shading Values File
Assume that you want to copy the shading values in the factory shading values file into the user
shading values file. To do so, you would follow this procedure:
1. Use a binary write command to write the file name UserShading to the Name field of the shad-
ing value bulk data CSR (see page 195).
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.