![Basler Vision Technologies Sprint Series Скачать руководство пользователя страница 203](http://html1.mh-extra.com/html/basler-vision-technologies/sprint-series/sprint-series_user-manual_2707562203.webp)
Configuring the Camera
Basler sprint Mono Cameras
193
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 saved configuration set file named
UserSet02
to your PC. Also assume that you now want to upload this file from your host PC to a
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 configu-
ration 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 written (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 written with a single binary bulk data write command. If the file is
larger than 255 characters, repeated binary bulk data write commands are required. When
repeated bulk data write commands are required, the file is written sequentially with each write
command starting where the previous write stopped.
This procedure will upload the data in the file to the camera.
If you want to upload a user shading value bulk data file from a PC to a camera, you would use a
similar procedure but you would use the shading value bulk data CSR instead.
Sample code that illustrates how to upload a bulk data file is available from Basler (see Section 7.4
on
Note
When you upload a bulk data file from the PC to the camera, it will overwrite
any existing data in the camera file with the same name. For example, if you
upload a configuration set file called UsetSet02 from a PC to a camera, it will
overwrite the existing contents of the UserSet2 file in the camera.
You can download the factory configuration set file from the camera to the PC,
but you can’t upload the factory configuration set from the PC to the camera.
The factory configuration set in the camera is protected and can’t be
overwritten.
Содержание Sprint Series
Страница 4: ......
Страница 10: ...Table of Contents vi Basler sprint Mono Cameras...
Страница 42: ...Physical Interface 32 Basler sprint Mono Cameras Fig 14 Camera Frame Grabber Interface...
Страница 48: ...Physical Interface 38 Basler sprint Mono Cameras...
Страница 76: ...Line Acquisition Modes 66 Basler sprint Mono Cameras...
Страница 94: ...Exposure Start and Exposure Time Control 84 Basler sprint Mono Cameras...
Страница 230: ...Revision History 220 Basler sprint Mono Cameras...
Страница 232: ...Feedback 222 Basler sprint Mono Cameras...