IC Imaging Control ActiveX

ICImagingControl.DeviceFrameRates Property

ICImagingControl.DeviceFrameRates Property

Returns a collection of frame rates supported by the video capture device. May be empty if the device does not support frame rates.
Public DeviceFrameRates As DeviceFrameRates

Run time only, read only. Only available when an ICImagingControl.Device is open and valid.


This example shows how to fill the a combo box named lstFrameRateList with the framerates the video capture device supports:

Private Sub FillFrameRateList()
    Dim FrameRateCol As DeviceFrameRates
    Dim Rate As Variant
    ' Do not forget to clear the combo box
    ' Get the DeviceFrameRates collection from ICImagingControl1
    Set FrameRateCol = ICImagingControl1.DeviceFrameRates
    ' Get all frame rates from the DeviceFrameRates collection
    ' and fill the combo box with the frame rates
    For Each Rate In FrameRateCol
        lstFrameRateList.AddItem Str(Rate)
End Sub
See also: ICImagingControl, ICImagingControl.DeviceFrameRates, ICImagingControl.DeviceFrameRateAvailable, ICImagingControl.DeviceFrameRate, ICImagingControl.DeviceCurrentActualFrameRate

<< ICImagingControl

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

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

Automated Imaging Association ISO 9001:2015 certified

Contact us