Sample program – ALLIED Vision Technologies Guppy F-503 User Manual

Page 226

Advertising
background image

Configuration of the camera

GUPPY Technical Manual V7.1.0

226

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. How the camera is switched into ISO_Enabled mode is also
shown below:


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 120: Configuration of the camera

Advertising
This manual is related to the following products: