beautypg.com

Sample program – ALLIED Vision Technologies Marlin F-201 User Manual

Page 173

background image

Configuration of the camera

MARLIN Technical Manual V2.4.0

173

Sample program

The following sample code in C shows how the register is set for frame rate,
video mode/format and trigger mode using the FireCtrl DLL from the
FirePackage API. Also shown is how the camera is switched into
ISO_Enabled mode:


WriteQuad(m_cmdRegBase + CCR_FRAME-RATE, Frame-Rate << 29);
WriteQuad(m_cmdRegBase + CCR_VMODE, mode << 29);
WriteQuad(m_cmdRegBase + CCR_VFORMAT, format << 29);
WriteQuad(m_cmdRegBase + CCR_TRGMODE, extTrigger ? 0x82000000 : 0);
Sleep(100);
WriteQuad(m_cmdRegBase + CCR_ISOENABLE, 0x80000000);

Figure 84: Configuration of the camera

This manual is related to the following products: