Configuring the Camera
4-40
Basler A400k
DRAFT
Uploading a Bulk Data File from a PC to the Camera
You can upload a bulk data file from your host PC to the camera’s non-volatile memory.
As an example, assume that you previously downloaded a configuration set bulk data file named
“UserSet02“ to your PC. Also assume that you now want to upload this file from your host PC to
the camera. 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 write command to set the value of the Control field in the configuration set bulk
data CSR to 0x03. Setting the value to 0x03 places the camera in write mode.
3. Use a binary command to do a bulk data write to the camera. The binary write command
must have the following characteristics:
OpCode = 0x04 (This OpCode makes the command a bulk data write)
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 = Bytes to be written
4. Repeat step 3 as many times as needed to write all of the data from the PC to the camera.
5. Close the bulk data file in the camera. To close the file, 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 and closes the file.
* 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 write
command starting where the previous write stopped.
This procedure would upload the data in the file to the camera.
If you wanted to upload existing DSNU or PRNU shading value bulk data files stored in the
camera, you would use a similar procedure but you would write to and read from the DSNU or
PRNU shading table bulk data CSR instead.
If you wanted to upload existing AOI list bulk data files stored in the camera, 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
).
L
When you upload a bulk data file from the PC to the camera, it will overwrite any
existing bulk data file in the camera that has the same name.
Содержание A400K
Страница 1: ...Basler A400k USER S MANUAL Document Number DA00062410 Release Date 27 September 2007 ...
Страница 4: ......
Страница 25: ...Camera Interface Basler A400k 2 9 DRAFT Figure 2 5 A402k Camera Frame Grabber Interface ...
Страница 26: ...Camera Interface 2 10 Basler A400k DRAFT Figure 2 6 A403k Camera Frame Grabber Interface ...
Страница 27: ...Camera Interface Basler A400k 2 11 DRAFT Figure 2 7 A404k Camera Frame Grabber Interface ...
Страница 52: ...Camera Interface 2 36 Basler A400k DRAFT ...
Страница 154: ...Configuring the Camera 4 54 Basler A400k DRAFT ...
Страница 168: ...Troubleshooting 6 10 Basler A400k DRAFT ...
Страница 172: ...Feedback iv Basler A400k DRAFT ...
Страница 176: ...Index viii Basler A400k DRAFT ...