Genie Color Series-GigE Vision Camera
Operational Reference
87
}
// 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;
}
Содержание Genie Color C1280
Страница 90: ...88 Operational Reference Genie Color Series GigE Vision Camera ...
Страница 94: ...92 Network Overview Tools Genie Color Series GigE Vision Camera ...
Страница 101: ...Genie Color Series GigE Vision Camera Technical Specifications 99 Genie 3D View with Right angle C mount and CS mount ...
Страница 118: ...116 Technical Specifications Genie Color Series GigE Vision Camera EC FCC Declaration of Conformity ...
Страница 130: ...128 Glossary of Terms Genie Color Series GigE Vision Camera ...