Linea ML Color Cameras
Appendix A: GenICam Commands
71
Upload File to Camera
1.
Select the file by setting the FileSelector feature
2.
Set the FileOpenMode to Read
3.
Set the FileOperationSelector to Open
4.
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
5.
Read FileOperationStatus to confirm that the file opened correctly
A return value of 0 is success. Error codes are listed in the XML.
6.
Read FileSize to get the number of bytes in the file
7.
From FileAccessBuffer.Length you will know that maximum number of bytes that can be
read through FileAccessBuffer is 988.
8.
For Offset = 0 While ((Offset < FileSize) and (Status = 0)) Do
a.
Set FileAccessOffset to Offset
b.
Set FileAccessLength to min(FileSize - Offset, FileAccessBuffer.Length), the number
of bytes to read
c.
Set the FileOperationSelector to Read
d.
Read the file by setting FileOperationExecute to 1 and poll until 0 and complete
e.
Read FileOperationStatus to confirm the read worked
f.
Read FileOperationResult to confirm the number of bytes read
g.
Read the bytes from FileAccessBuffer
h.
Write bytes read to host file.
9.
Next Offset = number of bytes read
10.
Set the FileOperationSelector to Close
11.
Close the file by setting FileOperationExecute to 1 and poll until 0 and complete
12.
Read FileOperationStatus to confirm the close worked
Download a List of Camera Parameters
For diagnostic purposes you may want to download a list of all the parameters and values
associated with the camera.
1.
Go to File Access Control
2.
Click on Settings
3.
In the “Type” drop down box select “Miscellaneous.”
4.
In the “File selector” drop down box select “CameraData.”
5.
Hit “Download”
6.
Save the text file and send the file to Teledyne DALSA customer support.
Summary of Contents for ML Series
Page 16: ...14 The Linea ML Color Camera Linea ML Color Cameras Mechanical Drawings ML FC 08K10T 00 R ...
Page 17: ...Linea ML Color Cameras The Linea ML Color Camera 15 ML FC 16K04T 00 R ...
Page 18: ...16 The Linea ML Color Camera Linea ML Color Cameras ML HC 16K10T 00 R ...
Page 80: ...78 Declaration of Conformity Linea ML Color Cameras Declaration of Conformity ...