EasyManua.ls Logo

Matrix Vision mvBlueFOX3 - Appendix A.1 Pregius CMOS Sensor Data; mvBlueFOX3-2004 Sensor Specifications

Matrix Vision mvBlueFOX3
365 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20.9 Working with device features 271
A write access then will look like:
const string fileNameDevice("UserFile");
// uploading a file
mvIMPACT::acquire::GenICam::ODevFileStream file;
file.open( pDev, fileNameDevice.c_str() );
if( !file.fail() )
{
// Handle the successful upload.
}
else
{
// Handle the error.
}
A read access will look like:
const string fileNameDevice("UserFile");
// downloading a file works in a similar way
mvIMPACT::acquire::GenICam::IDevFileStream file;
file.open( pDev, fileNameDevice.c_str() );
if( !file.fail() )
{
// Handle the successful upload.
}
else
{
// Handle the error.
}
You can find a detailed code example in the C++ API manual in the documentation of the classes mvIMPACT-
::acquire::GenICam::IDevFileStream and mvIMPACT::acquire::GenICam::ODevFileStream
20.9 Working with device features
There are several use cases concerning device features:
20.9.1 Reset timestamp by hardware
This feature can be used
for precise control of timestamp
for one camera or
to synchronize timestamp of multitude of cameras.
The latter sample, can be achieved by follwing steps:
1. Define the input line ("TriggerSource") to reset the timestamp, e.g. "Line5" and
2. set the "Trigger Selector" to "mvTimestampReset".
MATRIX VISION GmbH

Table of Contents