Home > C: Programming > How To Proceed > Using Inputs and Outputs > History back  Previous chapter  Next chapter  Print  

Serial Interface (GigE uEye HE only)

uEye Camera Manual Version 3.80

Serial Interface (GigE uEye HE only)

The GigE uEye HE has 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.
You can use this function to initialize the specified communication resource – in this case, the virtual COM port. The function returns a handle for accessing the port.

WriteFile()

Windows API function.
You can use this function to write data to the port identified by the handle returned by CreateFile().

ReadFile()

Windows API function.
You can use this function to read data from the port identified by the handle returned by CreateFile().

is_GetComportNumber()

uEye SDK function.
Retrieves the currently set COM port number of the camera.


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com