Serialportex - Point Grey Flea3 GigE Technical Reference

Gige digital camera
Hide thumbs Also See for Flea3 GigE:
Table of Contents

Advertisement

Point Grey Flea3 GigE Technical Reference
Once the image is stored in the camera, the image can be recovered at any time on any PC.
The example uses a FlashMode enumeration to capture the image (-c) or save the stored image to disk (-r). 
B.20 SerialPortEx
This example illustrates how users can transmit and receive characters by using the camera's serial buffer system.
This example creates the camera context and does the following:
Allocates a GUI handle to be used in all successive calls
n
Displays the camera selection dialog
n
Initializes the selected camera on the bus and associates it with the given context
n
Checks to make sure that the serial port is actually supported
n
Creates a thread to receive data and display the data
n
OnTransmit() is used to transmit data out of the camera's serial port based on user input
ReceiveLoop() is used to get the connection parameters from the camera, update the dialog, verify the receive buffer
status and determine the amount of data to be read, read the data and display the data in the window.
Users can use the 'Write Register Value' button to set the serial port register values, and use 'Read Register Value' to get
the serial port register values. 
Revised 10/29/2013
Copyright ©2010-2013 Point Grey Research Inc.
B FlyCapture SDK Examples
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents