APX-3302 User's Manual (OM110000019A)
-66 -
/////////////////////////////////////////////////////////////////////////////////////
// Reflect setting //
/////////////////////////////////////////////////////////////////////////////////////
// Reflect setting
AcapReflectParam(hDev_Master[ch_1], ch_1);
AcapReflectParam(hDev_Master[ch_2], ch_2);
AcapReflectParam(hDev_Slave[ch_1], ch_1);
AcapReflectParam(hDev_Slave[ch_2], ch_2);
/////////////////////////////////////////////////////////////////////////////////////
// Specific setting of Line sensor //
/////////////////////////////////////////////////////////////////////////////////////
// In the case of Line sensor,
// Although you stop capturing, output CC is performed in order to prevent long exposure of camera.
// If you do not use synchronize function between boards, there are no problems in particular.
// But if you use it, capturing will be begun when slave board starts capturing
// because SYNCLT is also outputted with CC.
// There fore, you have to stop output CC before start capturing,
// when you use SYNC_LT with Line sensor.
// This processing is not supported in AcapLib2 standard function,
// you have to configure the register of APX-3302 directly.
// The contents of processing
// In the case of CH1: Set Bit0 of the register 1060h address to 0.
// In the case of CH2: Set Bit0 of the register 2060h address to 0.
DWORD cc_gen;
for
(ch=ch_1; ch<=ch_2; ch++) {
// Configure channel 1 and 2.
AcapGetReg (hDev_Master [ch], ch, 0, 0x60+ (ch-1) (*0x1000), &cc_gen);)
cc_gen = cc_gen & 0xFFFFFFFE;
AcapSetReg(hDev_Master[ch], ch, 0, 0x60+((ch-1)*0x1000), cc_gen);
}
Summary of Contents for APX-3302
Page 1: ...APX 3302 User s Manual ...