![Basler Vision Technologies Sprint Series User Manual Download Page 202](http://html1.mh-extra.com/html/basler-vision-technologies/sprint-series/sprint-series_user-manual_2707562202.webp)
Configuring the Camera
192
Basler sprint Mono Cameras
Downloading a Bulk Data File from the Camera to a PC
You can download a bulk data file from the camera’s non-volatile memory to your host PC.
As an example, assume that you have saved a configuration set to the
UserSet02
file and that you
want to download this file from the camera to your host PC. To do so, you would follow this
procedure:
Use a binary write command to write the file name
UserSet02
to the Name field of the configuration
set bulk data CSR.
1. Use a binary read command to read the Size field of the configuration set bulk data CSR.
2. If the file contains saved data, this field will tell you the file size. If the file does not contain
saved data, this field will be 0.
3. Use a binary write command to set the value of the Control field in the configuration set bulk
data CSR to 0x02. Setting the value to 0x02 places the camera in read mode.
4. Use a binary command to do a bulk data read from the camera. The binary command must
have the following characteristics:
OpCode = 0x05 (This OpCode makes the binary command a bulk data read)
DataLen = the number of bytes to be read (Max is 255 characters*)
Address = 0x281B (Base address for the configuration set bulk data CSR plus the offset for
the Data field)
Data = none
5. You will receive a bulk data response frame from the camera. (The amount of data in the
response will be as specified by the DataLen in step 4.)
6. 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 0x01 no more data exists in the file. Exit the procedure.
b. If the value is 0x00, more data exists and this is not an activated file. Return to step 4.
c. If the value is 0x04, more data exists and this is an activated file. Return to step 4.
* Up to 255 characters can be read with a single binary bulk data read command. If the file is larger
than 255 characters, repeated binary bulk data read commands are required. When repeated
bulk data read commands are required, the file is read sequentially with each read command
starting where the previous read stopped.
This procedure will download the data in the file to the host computer.
If you want to download a shading values bulk data file to the host PC, you would use a similar
procedure but you would use the shading values bulk data CSR instead.
Sample code that illustrates how to download a bulk data file is available from Basler (see
Section 7.4 on
Summary of Contents for Sprint Series
Page 4: ......
Page 10: ...Table of Contents vi Basler sprint Mono Cameras...
Page 42: ...Physical Interface 32 Basler sprint Mono Cameras Fig 14 Camera Frame Grabber Interface...
Page 48: ...Physical Interface 38 Basler sprint Mono Cameras...
Page 76: ...Line Acquisition Modes 66 Basler sprint Mono Cameras...
Page 94: ...Exposure Start and Exposure Time Control 84 Basler sprint Mono Cameras...
Page 230: ...Revision History 220 Basler sprint Mono Cameras...