• English
  • Deutsch

IC Imaging Control .NET

ICImagingControl.MemorySnapImageSequence Method [Deprecated]

ICImagingControl.MemorySnapImageSequence Method [Deprecated]

This method captures a sequence of still images from a live video stream and stores the images in a list of internal buffers. The images can be saved to individual files using the ICImagingControl.MemorySaveImageSequence method.
public void MemorySnapImageSequence(int ImageCount); public void MemorySnapImageSequence(int ImageCount, int timeoutInMs);
Parameter Description

Specifies number of images to be captured.


Specifies the snap timeout value in milliseconds.


When LiveCaptureContinuous is true, MemorySnapImageSequence throws a ICException with the error code NotAvailableOutsideSnapMode.


This method is deprecated since version 3.5.
Use the methods on the actual sink


The following code snippet shows how to snap 10 images from the video live stream using a timeout of 3000ms. The snapped images will be shown in a PictureBox:

// Use 10 image buffers. ICImagingControl1.ImageRingBufferSize = 10; ICImagingControl1.LiveStart(); try { // Use a timeout of 3000ms. ICImagingControl1.MemorySnapImageSequence(10, 3000); // Show the snapped images in a PictureBox. foreach( TIS.Imaging.ImageBuffer Img in ICImagingControl1.ImageBuffers ) { pictureBox1.Image = Img.Bitmap; pictureBox1.Update(); System.Threading.Thread.Sleep(1000); } } catch( ICException Ex ) { MessageBox.Show(Ex.Message, "MemorySnapImage Error"); } ICImagingControl1.LiveStop();
See also: ICImagingControl, ICImagingControl.MemorySaveImageSequence, ICImagingControl.ImageRingBufferSize

<< ICImagingControl

Get in touch with us

About The Imaging Source

Established in 1988, The Imaging Source is one of the leading manufacturers of industrial cameras, video converters and embedded vision components for factory automation, quality assurance, medicine, science, security and a variety of other markets.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE, MIPI interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

ISO 9001:2015 certified MVTEC | Edge AI + Vision Alliance | EMVA

Contact us