13/33
Sentech GigE Vision Camera StGigE SDK
Sample Guide Rev.1.00
1.15 PvRecoverySample
This sample shows how to create the simple command line application for obtains the image with automatic
recovery support by the PvDeviceEventSink.
1) Introduction
This sample shows how to:
Selects the camera with the PvDeviceFinderWnd class.
Connects the camera.
Opens the stream.
Obtains the image with the PvStream class.
Obtains the recovery events and callback from the PvDeviceEventSink class.
Handles the recovery events.
2)
Prerequisite
When use this sample:
The camera has to connect to the NIC, which is installed either the eBUS Universal Pro or the Optimal driver,
before use this sample.
3) Descriptions of the files
3.1 PvRecoverySample.cpp
The source code file, which is simple command line application that obtains the image.
Please check the comments in this source code for the information, which is how to use these classes.
Sentech GigE cameras do NOT have the DeviceReset function in this.
1.16 PvRGBFilterSample
This sample shows how to use the PVBufferConverter and the PvFilterRGB, to convert the image.
This sample shows how to use the PvBufferWrite class, to save the image into bitmap file.
1) Introduction
This sample shows how to:
Converts the image to RGB32Bit with the PvBufferConverter class.
Applies the RGB filter and the white balance with the PvFilterRGB class.
Saves the RGB32 image into bitmap file with the PvBufferWriter class.
2)
Prerequisite
When use this sample:
The camera has to connect to the NIC, which is installed either the eBUS Universal Pro or the Optimal driver,
before use this sample.
3) Descriptions of the files
3.1 PvRGBFilterSample.cpp
The source code file for the sample program of how to use the PvBufferConverter, the PvFilterRGB and the
PvBufferWriter classes.