EasyManuals Logo

Dalsa A CIS Series User Manual

Default Icon
75 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
Linea HS Series Camera User's Manual Appendix A: GenICam Commands 61
CLHS File Transfer Protocol
If you are not using CamExpert to perform file transfers, pseudo-code for the CLHS File Transfer
Protocol is as follows.
Download File from Camera
Select the file by setting the FileSelector feature
Set the FileOpenMode to Read
Set the FileOperationSelector to Open
Open the file by setting FileOperationExecute to 1
This is a read-write feature - poll it every 100 ms until it returns 0 to indicate it has
completed
Read FileOperationStatus to confirm that the file opened correctly
o
A return value of 0 is success. Error codes are listed in the XML.
Read FileSize to get the number of bytes in the file
From FileAccessBuffer.Length you will know that maximum number of bytes that can be read
through FileAccessBuffer is 988.
For Offset = 0 While ((Offset < FileSize) and (Status = 0)) Do
o
Set FileAccessOffset to Offset
o
Set FileAccessLength to min(FileSize - Offset, FileAccessBuffer.Length), the number of
bytes to read
o
Set the FileOperationSelector to Read
o
Read the file by setting FileOperationExecute to 1 and poll until 0 and complete
o
Read FileOperationStatus to confirm the read worked
o
Read FileOperationResult to confirm the number of bytes read
o
Read the bytes from FileAccessBuffer
o
Write bytes read to host file.
Next Offset = Offset + number of bytes read
Set the FileOperationSelector to Close
Close the file by setting FileOperationExecute to 1 and poll until 0 and complete
Read FileOperationStatus to confirm the close worked

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Dalsa A CIS Series and is the answer not in the manual?

Dalsa A CIS Series Specifications

General IconGeneral
BrandDalsa
ModelA CIS Series
CategorySecurity Sensors
LanguageEnglish