The Camera Settings (Genicam Parameters) Control With Sdk; Integer Type Parameter Control; Float Type Parameter Control; Enumeration Type Parameter Control - Omron GigE Vision STC-CMB2MPOE Product Specifications And User's Manual

Color / monochrome cmos poe camera
Table of Contents

Advertisement

9.11

The camera settings (GenICam parameters) control with SDK

GenICam parameters are controllable with the eBUS SDK.
Please refer eBUS SDK API help file for the details.

Integer type parameter control

Integer type parameter such as "Width" control.
e.g. Width writing
[C++]
PvDevice.GetGenParameters()->SetIntegerValue("Width", 256);
[C#】
PvDevice.GenParameters.SetIntegerValue("Width", 256);
e.g. Width reading
[C++]
PvDevice.GetGenParameters()->GetIntegerValue("Width", &intValue);
[C#]
intValue = PvDevice.GenParameters.GetIntegerValue("Width");

Float type parameter control

Float type parameter such as "AcquisitionFrameRate" control.
e.g. AcquisitionFrameRate writing
[C++]
PvDevice.GetGenParameters()->SetFloatValue("AcquisitionFrameRate", 33.3);
[C#]
PvDevice.GenParameters.SetFloatValue("AcquisitionFrameRate", 33.3);
e.g. AcquisitionFrameRate reading
[C++]
PvDevice.GetGenParameters()->GetFloatValue("AcquisitionFrameRate", &doubleValue);
[C#]
doubleValue = PvDevice.GenParameters.GetFloatValue("AcquisitionFrameRate");

Enumeration type parameter control

Enumeration type parameter such as "BalanceWhiteAuto" control.
e.g. BalanceWhiteAuto writing
[C++]
PvDevice.GetGenParameters()->SetEnumValue("BalanceWhiteAuto", "Continuous");
[C#]
PvDevice.GenParameters.SetEnumValue("BalanceWhiteAuto", "Continuous" );
e.g. BalanceWhiteAuto reading
[C++]
PvDevice.GetGenParameters()->GetEnumValue("BalanceWhiteAuto", &PvStringValue);
[C#]
stringValue = PvDevice.GenParameters.GetEnumValueAsString("BalanceWhiteAuto");
STC-CMC2MPOE / STC-CMB2MPOE / STC-CMB2MPOE-IR /
STC-CMC4MPOE / STC-CMB4MPOE / STC-CMB4MPOE-IR Product Specifications and User's Guide
No.13S064-13
45/55

Advertisement

Table of Contents
loading

Table of Contents