HelloDevice UniversalComm Users Guide Version 1.0.
Table of Contents 1. Overview...............................................................................................................................3 2. Installation.............................................................................................................................4 3. Configuration of the communication mode.............................................................................5 3.1 Frame layout .........................................................................
1. Overview HelloDevice UniversalComm is a program that enables the users to flexibly send/receive data through TCP or UDP or Serial RS232 connections. The purpose of the program is to test the communication functions of the HelloDevice or to help deciding the network configuration of the HelloDevice application environment by testing the data communication.
2. Installation 1) Run the setup program, Setup_HDUniversalComm_1.0.0.exe. 2) Proceed to the installation process according to the guide. 3) If the installation is completed, - It will be automatically copied to the following location. C:\Program Files\sena\HelloDevice UniversalComm folder. - The shortcut will be created into Desktop and Program menu. 4) Run the program.
3. Configuration of the communication mode The Server Setting frame is composed of the following sections. - Communication mode set-up section - Communication parameter set-up section. - Status bar and the command buttons 3.
UDP [Bind] or [Stop Bind] RS232 [Open] or [Close] 3.2 TCP Server mode setting 1) Enter the Listening TCP port number into the Server Port field, and enable the TCP Server/Client check box. 2) Press [Listen] button, and then the TCP Server session is created. 3.3 TCP Client mode setting 1) Enter the IP address and TCP port number of the remote host to connect into the field Destination IP and Destination Port, and then, enable the TCP Server/ Client check box.
3.4 UDP Server mode setting 1) Enter the UDP server port number into the Server Port field, and enable the UDP Server/Client check box. 2) Press [Bind] button, and then the UDP Server session is created. 3.5 UDP Client mode setting 1) Enter the IP address and UDP port number of the remote host to connect into the field Destination IP and Destination Port, and then, enable the UDP Server/ Client check box. 2) Press [Bind] button, and then UDP client session is created. 3.
2) Enable the UDP Server/ Client check box. 3) Press [Bind] button, and then UDP tunneling session is created. 3.7 RS-232 serial mode setting 1) Enable RS-232 check box. 2) Press [Change Setting] button, and configure serial communication parameters. 3) Press [Open] button, and then serial port is opened for data send/receive in the PC.
4. Data Communication If users perform the session creation command such as Listen, Connect, Bind and Open after they configure the communication mode, the HelloDevice UniversalComm program creates the session for the corresponding communication. 4.1 Receiving data Received Data frame is the one that displays the incoming data under the corresponding communication mode. It is composed of a couple of columns to display the data information efficiently, i.e.
1) [Load] button Used in opening the file to transfer. 2) [Save] button Used in storing the user input data to file. 3) [Clear] button Used in clearing the user input data. 4) [Send] button If pressed, the program will transfer the user input data by using specified method. 5) Periodic check box To use this function, users have to enter the data transfer period in msec unit into the [ms] filed.
5. Test operation Using the HelloDevice UniversalComm (user PC) and the HelloDevice, users can test the communication between PC and the HelloDevice both in TCP mode and in RS232 mode. The test scenario is as follows. - Create TCP session in one program instance and the RS232 connection in the other instance. - Transfer data back and forth between both HelloDevice UniversalComm (User PC in TCP and RS232) and the HelloDevice Communication 5.1.
5.2. Configuration - IP address of User PC: 192.168.18.10 - HelloDevice Configuration ! IP address: 192.168.18.1. ! Host mode: 1320, LS100, PS100/200/400, SS100: TCP Server mode (Local port: 6000) SS110/400/800: TCP mode, Listening port 6000 ! - Serial parameters: 9600, 8, N, 1, H/W flow control HelloDevice UniversalComm Configuration ! TCP Client 1) Run HelloDevice UniversalComm program by clicking the shortcut or menu. 2) Specify the Destination IP and Destination port.
5.3. Operation 5.3.1. Data transfer by TCP communication 1) Enter the data stream, “0123456789abcdef” in the Sending Data frame under the program working as TCP session, and then press [Send] button. 2) Check the Received Data frame under the other program working as RS232 connection, whether it displays the same data sent from the TCP session. 5.3.2.