Skip to main content

GenICam source

The GenICam source supports connection to GigE, and the USB3 Vision camera supports the GenICam protocol.

Block info

Name: GenICamSourceBlock.

Pin directionMedia typePins count
Output videovariousone or more

The sample pipeline

Sample code

var pipeline = new MediaBlocksPipeline(true);

var sourceSettings = new GenICamSourceSettings(cbCamera.Text, new VisioForge.Core.Types.Rect(0, 0, 512, 512), 15, GenICamPixelFormat.Mono8);
var source = new GenICamSourceBlock(sourceSettings);

var videoRenderer = new VideoRendererBlock(pipeline, VideoView1);
pipeline.Connect(source.Output, videoRenderer.Input);

await pipeline.StartAsync();

Prerequisites

macOS

Install the Aravis package using Homebrew:

brew install aravis

Linux

Install the Aravis package using the package manager:

sudo apt-get install libaravis-0.8-dev

Windows

Install the VisioForge.CrossPlatform.GenICam.Windows.x64 package to your project using NuGet.

Platforms

Windows, macOS, Linux