IPLink client library connection procedure

<< Click to Display Table of Contents >>

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

IPLink client library connection procedure

overview

This section explains the basic steps to establish an IPLink connection from a development application such as VisualBasic.

 

The steps introduced here can be broadly divided into the following:

 

Step 1 Server settings

 

Set up tag registration.

Step 2 Client settings

 

Configure OCX etc.

Step 3: Check the connection

 

Check the connection from the VB application.

Step 4: Reading and writing values

 

Read and write values from your VB application.

Step 5: Displaying values in real time

 

Display tag values in real time in a VB application.

 

Samples and detailed explanations will be provided in VB.NET2010.

 

 

The basic development flow is as follows:

 

c_interface_0121

AddTag

Declares the registration of tags that will communicate.

You can also register tags online.

c_interface_0126



c_interface_0122

NetWorkParame

Online = True

While online is true, you can communicate with the server.

 

c_interface_0126



c_interface_0123

Update = True

ValueChanged

Setting the Update property to True will start automatic updating.

The ValueChanged event occurs when the tag value changes.

This event is used to implement dynamic processing based on value changes.

c_interface_0126



c_interface_0124

ReadVal

WriteVal

Use the methods to read and write tags.

 

c_interface_0126



c_interface_0125

Update = False

Online = False

The communication will be terminated automatically when you close the form.

Therefore, you usually do not need to be aware of termination processing.

 

 

 

hint

Compilation is compatible with both 32bit (x86) and 64bit (x64).