Configuring the Camera
Basler A400k
4-39
DRAFT
Downloading a Saved Bulk Data File from the Camera to a PC
You can download an existing saved bulk data file from the camera’s non-volatile memory to your
host PC.
As an example, assume that the camera has an existing saved configuration set file named
“UserSet02“ and that you want to download this file from the camera to your host PC. To do so,
you would follow this procedure:
1. Use a binary write command to write the file name UserSet02 to the Name field of the
configuration set bulk data CSR.
2. Use a binary read command to read the Size field of the configuration set bulk data CSR.
If the file exists, this field will tell you the file size. If the file does not exist, 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 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 would download the data in the file to the host computer.
If you wanted to download an existing DSNU or PRNU shading value bulk data file to the host PC,
you would use a similar procedure but you would write to and read from the DSNU or PRNU
shading value bulk data CSR instead.
If you wanted to download an existing AOI list bulk data file to the host PC, you would use a similar
procedure but you would write to and read from the AOI list bulk data CSR instead.
Sample code that illustrates how to download bulk data files is available from Basler (see Section
).
Summary of Contents for A400K
Page 1: ...Basler A400k USER S MANUAL Document Number DA00062410 Release Date 27 September 2007 ...
Page 4: ......
Page 25: ...Camera Interface Basler A400k 2 9 DRAFT Figure 2 5 A402k Camera Frame Grabber Interface ...
Page 26: ...Camera Interface 2 10 Basler A400k DRAFT Figure 2 6 A403k Camera Frame Grabber Interface ...
Page 27: ...Camera Interface Basler A400k 2 11 DRAFT Figure 2 7 A404k Camera Frame Grabber Interface ...
Page 52: ...Camera Interface 2 36 Basler A400k DRAFT ...
Page 154: ...Configuring the Camera 4 54 Basler A400k DRAFT ...
Page 168: ...Troubleshooting 6 10 Basler A400k DRAFT ...
Page 172: ...Feedback iv Basler A400k DRAFT ...
Page 176: ...Index viii Basler A400k DRAFT ...