| SDK Version Compatibility | Language | Date First Posted | Primary Library Calls | Link |
| 1.8.0.1 | Visual C++ | 2008/03/14 | flycaptureCreateContext() pgrcamguiCreateContext pgrcamguiShowCameraSelectionModal() flycaptureGetCameraRegister() flycaptureSetCameraRegister() |
SerialPortExDlg |
| 2.0.3.12 | Visual C++ | 2009/10/29 | ReadRegister() WriteRegister() ReadRegisterBlock() WriteRegisterBlock() |
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
Displays the camera selection dialog
Initializes the selected camera on the bus and associates it with the given context
Checks to make sure that the serial port is actually supported
Creates a thread to receive data and display the data
Data is transmitted out of the camera's serial port based on user input
The connection parameters are obtained from the camera, the dialog is updated, the receive buffer status and and amount of data to be read is verified, and the data is read and displayed in the window.
Users can use the 'Set Register' button in the FlyCap Demo Program to set the serial port register values, and use 'Get Register' button to get the serial port register values.