C# GenICam Example

<< Click to Display Table of Contents >>

Navigation:  Image Manager > Example Applications > .Net >

C# GenICam Example

 

Aim

The Common Vision Blox C# GenICam example shows, how to use the CV GenICam Library and the CV GenApi Grid Control.

 

Instructions

This example loads automatically the GenICam.vin Driver.

If there is a GigE camera connected to the PC and configured in the GenICam.ini file then the GenApi Grid Control loads the NodeMap from the camera to show all available features.

GenICam_CSGenICamExample_Screenshot

 

In the Set/Get Exposuretime Area the exposuretime is read out from the camera if available.

Then you can set the exposuretime in this area. In the Image Dimensions area it is possible to read out the Image Dimensions of the connected camera.

This are mandatory features which means that they are available on every GenICam compliant camera.

The exposuretime instead is not a mandatory feature. Because of this the nodenames for the exposuretime from the camera can also be different.

And then it is possible that you can't set or get the exposuretime because this example uses the recommended nodenames for the exposuretime feature.

 

Location

Startmenu:        Common Vision Blox -> Hardware -> GenICam -> C# GenICam Example

Path:                %CVB%Tutorial\Hardware\GenICam\CS.NET\CSGenICamExample

 

Functions Used

NMInfoAsString, 

NMGetNode, 

NRegisterUpdate, 

NInfoAsInteger, 

NGetAsInteger, 

NSetAsInteger