beautypg.com

Ricoh Gig# Vision VGA Monochrome CCD Camera FV-G030B1 User Manual

Page 37

background image



37/38

FV-G030B1
User’s Guide Rev. 1.02

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();

}