
Piranha Color Camera
56
unsigned int sum = 0;
while(count--)
{
sum = CRC_table16[(sum >> 8) ^ *ptr] ^ (sum << 8);
ptr++;
}
return sum;
}
Load FPN Coefficients
Purpose:
Loads previously stored FPN pixel coefficients from non-
volatile memory to FPGA SDRAM.
Syntax:
lfc
Syntax Elements:
Example:
lfc
Notes:
Before issuing this command, select the set you wish to load
with the SSN command:
0
= Factory set
1
to
4
= User sets
5
= Selects transfer from PC
FPN coefficients are only loaded from non-volatile memory
on: power-up, LFC, and LFS. They are not loaded by LUS.
Related Commands:
wfc
Write PRNU Coefficients
Purpose:
Saves current values of PRNU pixel coefficients that are in
FPGA SDRAM to Flash memory or a PC file.
Syntax:
wpc
Syntax Elements:
Example:
wpc
Notes:
Before issuing this command, select the set you wish to write
with the SSN command:
0
= Factory set
1
to
4
= User sets
PRNU coefficients will be loaded by LPC, LFS, and
automatically at power-up
Coefficient use is enabled or disabled with the EPC command
Set 0 can only be written from factory mode
Format of PRNU PC
File
Provided so that user can generate their own coefficients to
send to the camera
Binary file
((2 bytes, LSB first) x (number of pixels)) x (3 colors – red,
green, blue)
32 bytes reserved
Summary of Contents for DALSA Piranha PC-30-02K60-00-R
Page 31: ...Piranha Color Camera 31 Exposure Modes in Detail...
Page 68: ...Piranha Color Camera 68...
Page 78: ...Piranha Color Camera 78...
Page 88: ...Piranha Color Camera 88...
Page 90: ...Piranha Color Camera 90...
Page 92: ...Piranha Color Camera 92...