Home > B: Operation > Installed uEye Programs > uEye Camera Manager > | History back Previous chapter Next chapter Print |
Additional Functions (COM Port) |
uEye Camera Manual Version 3.80
Additional Functions (COM Port)
The Additional functions dialog box allows installing virtual COM ports for communication through the serial interface of the GigE uEye HE camera. The following sections show you how to set up and use the serial interface.
|
Figure 88: uEye Camera Manager - Additional functions
Setting up the serial interface on the GigE uEye HE
Before using the serial interface on the camera, one or more virtual COM ports have to be installed on the PC. Most systems support up to 255 COM ports; COM1 to COM8 are often assigned operating system functions by default. You can check the current port assignment in the Device Manager on your computer. Some older systems may not have more than eight ports; in that case you will need to assign the GigE uEye HE camera to one of these ports.
• | COM port In the drop down box, select the number of the port you want to install (default: 100). COM ports in use are marked (used) in the list. |
• | ![]() Click this button to install the selected virtual COM port. During the first installation of a virtual COM port, an additional broadcast port with number 255 is installed. Data sent to this port will be forwarded to all paired cameras. You can install any number of virtual COM ports on a single system. |
• | ![]() With this button, you can release a COM port that is marked "used." If the port number has been saved in that camera, it will be deleted in the camera, too. To release a COM port, select it in the drop down box and then click this button. |
• | ![]() Click this button to assign the selected port number to the camera. The port number is saved in the camera's non-volatile memory and retained even when the camera is switched off. You can look up the assigned port number in the Camera Manager's expert mode. A COM port number can also be saved in a camera without a virtual COM port installed on the PC. |
|
|
Testing the serial interface on the GigE uEye HE
|
• | ![]() Clicking this button opens a dialog box for transferring data through the COM port. The dialog box is provided as the uEyeComportDemo.exe sample program together with the C++ source code and is included in the uEye SDK. This program allows sending ASCII characters to the COM port assigned to a camera. The characters are output unchanged on the camera's serial port. To check the proper functionality, you can connect a PC to the camera's serial port and read the transmitted characters on the PC's COM port. ![]() Figure 89: Data transfer through a virtual COM port |
• | Baud In this drop down box, you can change the data transfer rate of the serial interface. |
• | Append This drop down box allows appending the special characters CR (Carriage Return) and LF (Line Feed) to the ASCII text you want to transmit. Some devices with serial interface require ASCII strings to be terminated with CR/LF. |
• | Send file Using these functions, you can send a file in either direction (output on the camera's virtual COM port or output on the PC's COM port). |
|