beautypg.com

Ricoh GigE Vision VGA Monochrome CCD Camera FV-G030B1 User Manual

Page 36

background image



36/37

FV-G030B1
User’s Guide Rev. 1.01

Caution:
Width, Height and PixelFormat all affect the image data size.
Please use command name defined by GenICam when changing these values, as exampled in the following sample
code.


In the case to change the Width

BOOL SetWidth( PvDevice *pDevice, PvInt64 lValue )
{
PvGenInteger* lGenInteger =

dynamic_cast

( pDevice->GetGenParameters()->Get(

"Width"

) );

PvResult lResult = lGenInteger->SetValue(lValue);

return

lResult.IsOK();

}