Genie HM-HC Series-GigE Vision Camera
Operational Reference
91
// Get max only works with 1.40.01.0192 or higher.
#if 0
if( !feature.GetMax( &userBufferSize) )
{
printf("Error during GetMax!\n");
return FALSE;
}
printf("User Buffer size = %d", userBufferSize);
#else
userBufferSize = 4*1024;
#endif
SapBuffer *Buffers= new SapBuffer(1, userBufferSize, 1, CORBUFFER_VAL_FORMAT_MONO8);
if( !Buffers->Create())
{
printf("Error during Buffers creation!\n");
return FALSE;
}
// Read a buffer to the caemra user buffer
if( !pAcqDevice->GetFeatureValue( "UserBuffer", Buffers))
{
printf("Error in GetFeatureValue( \"UserBuffer\" ) !\n");
return FALSE;
}
// Write a buffer to the caemra user buffer
if( !pAcqDevice->SetFeatureValue( "UserBuffer", Buffers))
{
printf("Error in SetFeatureValue( \"UserBuffer\" ) !\n");
return FALSE;
}
delete pAcqDevice;
delete Buffers;
printf("Exit 0\n");
return 0;
}
Summary of Contents for Genie HC1024
Page 8: ...6 Contents Genie HM HC Series GigE Vision Camera ...
Page 34: ...32 Installing the Genie Camera Genie HM HC Series GigE Vision Camera ...
Page 94: ...92 Operational Reference Genie HM HC Series GigE Vision Camera ...
Page 98: ...96 Network Overview Tools Genie HM HC Series GigE Vision Camera ...
Page 104: ...102 Sapera CamExpert Guide Genie HM HC Series GigE Vision Camera ...
Page 138: ...136 Glossary of Terms Genie HM HC Series GigE Vision Camera ...