Camera Link registers
81
Goldeye Camera Link Register Controls Reference V1.0.0
RegFileOperationSelector
Selects the target operation for the selected file in the device. This operation is
executed when the
FileOperationExecute
functionality is called.
Register name
RegFileOperationSelector
Register type
IntReg
Access mode
R/W
Address
0x000F0004
Length (Bytes)
4
Default
Open
Bits used
31..0
Enumeration values:
Value
Name and description
0
Open
Opens the file selected by
FileSelector
in the device with the access
mode selected in
FileOpenMode.
1
Close
Closes the file selected by
FileSelector
in the device.
2
Read
Reads
FileAccessLength
bytes from
the file selected by FileSelector.
The file must have been opened for reading before this operation can
be executed. The data is read from the file position defined by
FileAccessOffset
and it is stored in the
FileAccessBuffer
.
3
Write
Writes
FileAccessLength
bytes from the
FileAccessBuffer
to the file
selected by
FileSelector
. The file must have been opened for writing
before this operation can be executed. The data is written to the file
position defined by
FileAccessOffset
.
4
Delete
Deletes the file selected by
FileSelector
in the device.
Note: Deleting a device file does not remove the associated
FileSelector
entry to allow future operation on this file.
5
WriteType
Changes the type of the file selected by
FileSelector
to the type
defined by
FileTypeBuffer
.
6
WriteAttribute
Changes the attribute of the file selected by
FileSelector
to the
attribute defined by
FileAttributeBuffer.
7
WriteDescription
Changes the description of the file selected by
FileSelector
to
the type defined by
FileDescriptionBuffer