Cvb .NET Mono > 8 bit data

I am acquiring images using discovery rather than going via the .ini file and .vin mechanism.

I am setting the camera to output Mono12 data, but the image stream is providing 8 bit images. Is there an equivalent to setting the PixelFormat setting in the INI file which determines the buffer format supplied to the application?

Many Thanks


Yes it is possible to do so. You can set all the mentioned parameters in .ini file before opening the device as follows:

var devices = DeviceFactory.Discover(DiscoverFlags.IgnoreGevSD | DiscoverFlags.IgnoreVins);
devices[0].SetParameter("NumBuffer", "30");
var dev = (GenICamDevice)DeviceFactory.Open(devices[0], AcquisitionStack.GenTL);