No.13S064-13
45/55
STC-CMC2MPOE / STC-CMB2MPOE / STC-CMB2MPOE-IR /
STC-CMC4MPOE / STC-CMB4MPOE / STC-CMB4MPOE-IR Product Specifications and User’s Guide
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”);