Step 2: Client settings

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Interface > IPLink-Interface > IPLinkClient Library > IPLinkClient Library Connection Procedure >

Step 2: Client settings

Client Configuration

Create a client application using Visual or Basic.

 

 

1.Start Visual Basic.
 

2.Right-click on the Toolbox and select Choose Items from the menu.
 
c_interface_0098
 

3.Check "Roboticsware IPLink Ver6.0" under "COM Components" and click "OK."
 
c_interface_0099
 

4.Paste the control onto the form.
 
Select the "IPLink" object from the toolbar and paste it onto the form.
c_interface_0100
 
c_interface_0101
 

5.Configure the properties.
 
Set the properties of the IPLink control as follows.
c_interface_0109
 
NetworkParam : ",3000,1000"
Online: "True"
 
NetworkParam sets the parameters in the order of "Server IP address, Server port number, Update cycle". If no IP address is specified, an automatically obtained IP address will be used. If you specify an IP address, set a fixed value.
When Online is set to TRUE, the server will be connected and communication will be possible.

 

 

hint

In NetworkParam, you can set "Server IP address, Server port number, Update cycle" followed by "Communication timeout (seconds), Connection timeout (seconds)".

 

Example: ",3000,1000,10,10"

 

If you set "-1" in the timeout settings, the timeout time will be determined by the OS. Please note that if it is OS dependent, you may have to wait for more than 10 minutes. If you do not set anything, the default values will be used (communication timeout: 5, connection timeout: -1).

 

hint

If you compile and run the IPLink control as is, it will be displayed on the screen. If you want to hide it, set the Visible property to False.

 

Visible: True

c_interface_0103

 

c_interface_0102

Visible: False

c_interface_0104

 

c_interface_0105