|
|
|
||||||||||||||
|
|
|||||||||||||||
|
|
![]() HALCON Image Acquisition Interface for GINGA digital BoardsThis document provides information about the sequence grabbing mode that can be used by the HALCON GingaDG interface. The latest revision of this interface can be downloaded from the Support Area of the LinX WWW server. In case of installation problems please send e-mail (techimage@linx.jp) or fax (81-45-979-0732) to LinX technical support center. Sequence Grabbing ModeThe principle idea of this grabbing mode is that the image frames are stored sequentially to several frame buffers, which are allocated in system memory in advance. With the use of only one grab command like grab_image the specified number of frames are grabbed at once. Note that the frame rate for grabbing can be adjusted either automatically or dynamically according to the PCI load by setting the grabbing frequency.
Parameters for set_framegrabber_param():
Example
LimitationThe sequence grabbing mode can not be combined with the software trigger (shot grabbing) mode! Sample Program
close_all_framegrabbers ()
NumBuffers := 5
open_framegrabber ('GingaDG', 1, 1, 0, 0, 0, 0, 'default', 8, 'default', -1, 'default', 'teli/CSB4000_NORM', 'default', 0, -1, AcqHandle)
set_framegrabber_param (AcqHandle, 'num_buffers', NumBuffers)
set_framegrabber_param (AcqHandle, 'sequence_grabbing', 'enable')
set_framegrabber_param (AcqHandle, 'capture_frequency', 'Capture=2 Drop=1')
set_framegrabber_param (AcqHandle, 'volatile', 'enable')
dev_close_window ()
dev_open_window (0, 0, 640, 480, 'black', WindowHandle)
stop ()
* Sequential image, whose number is specified by NumBuffers, can be
* grabbed into channel by the following one operator:
grab_image (Image, AcqHandle)
stop ()
count_channels (Image, Channels)
for i := 1 to Channels by 1
access_channel (Image, Image1, i)
dev_display (Image1)
endfor
|
||||||||||||||