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

Gige vision camera cmos color / monochrome
Table of Contents

Advertisement

9.12 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-SBS312POE / STC-SCS312POE / STC-SBS500POE / STC-SCS500POE
Product Specifications and User's Guide
For more information please contact Aegis Electronic Group, Inc. *(888)687-6877 *aegis-g2@aegiselect.com *http://www.aegiselect.com
No.16S019-05
52/62

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stc-scs312poeStc-sbs500poeStc-scs500poeStc-sc500poe

Table of Contents