The USB 3 uEye CP/ML have a serial interface which can be accessed from the PC through a virtual COM port (please also refer to the Camera basics: Serial interface chapter).
The Windows API provides all necessary functions for a COM port-based communication. The three Windows API commands listed in the table below are sufficient to perform a basic COM communication. You can use additional Windows API functions to further configure the COM port. The uEyeComportDemo.exe COM port demo program which is supplied in C++ source code with the uEye SDK shows how to use these functions.
CreateFile() |
Windows API function. |
WriteFile() |
Windows API function. |
ReadFile() |
Windows API function. |
uEye SDK function. |