User`s manual
Configuring the Camera
Basler sprint Mono Cameras 191
This procedure will copy the contents of the factory shading values file into the user shading values
file. Note that any existing data in the user shading values file will be overwritten.
Sample code that illustrates how to create a bulk data file is available from Basler (seeSection 7.4
on page 204).
7.2.3.3 General Procedures for Working with Bulk Data CSRs
Enumerating Bulk Data Files
Bulk data file enumeration allows you to look through a list of the bulk data files that currently contain
saved parameters.
As an example, assume that you want to see a list of all of the configuration set files that currently
contains saved parameters. To do so, you would follow this procedure:
1. Use a binary write command to set the value of the Control field in the configuration set bulk
data CSR (see page 194) to 0x00. Setting the value to 0x00 initiates an enumerate function.
2. Use a binary read command to read the Name field of the configuration set bulk data CSR.
This is the name of a configuration set file that contains saved data.
3. Use a binary read command to read the value in the Info field of the configuration set bulk data
CSR.
a. If the value is 0x00, it means that the file contains saved parameters and it is not an
activated file. Continue to step 4.
b. If the value is 0x04, it means that the file contains saved parameters and it is an activated
file. Continue to step 4.
c. If the value is 0x01 no more configuration set files with saved parameters exist. Exit the
procedure.
4. Use a binary write command to set the value of the Control field in the configuration set bulk
data CSR to 0x01. Setting the value to 0x01 initiates an enumerate next function.
5. Return to step 2.
This procedure would list all of the configuration set bulk data files that contain a saved parameter
set.
If you wanted to enumerate the existing saved shading value file, you would use a similar procedure
but you would write to and read from the shading value bulk data CSR instead.
Sample code that illustrates how to enumerate bulk data files is available from Basler (see
Section 7.4 on page 204).