cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Interface between OPC server and VB6.0

JKDAS
3-Newcomer

Interface between OPC server and VB6.0

OPC Software: KEPserverEX (Kepware OPC server software)

Third party software: VB6.0 (Visual Basic 6.0) (OPC Client)

 

There is a channel, device and tag items are available in Kepware OPC server and would like to read value of OPC tags into VB6.0 software using OPC DA or any other easy method. I would like to read/write value of OPC tag from VB6.0 software. Could you please help me providing the source code and supported files so that I can assemble in my computer without any issue. Thank you.

 

 

ACCEPTED SOLUTION

Accepted Solutions

Probably the easiest method would be to interact with the Kepware REST server in the IoTGateway. You should be able to use WinHTTP library in VB code to make REST calls to read or write tag values. For more details, refer the section "Working with a REST Server" in the IoT Gateway Manual.

Please note that I am not a VB programmer. Hence, neither do I have sample code nor have I tested this myself. 

View solution in original post

1 REPLY 1

Probably the easiest method would be to interact with the Kepware REST server in the IoTGateway. You should be able to use WinHTTP library in VB code to make REST calls to read or write tag values. For more details, refer the section "Working with a REST Server" in the IoT Gateway Manual.

Please note that I am not a VB programmer. Hence, neither do I have sample code nor have I tested this myself. 

Announcements


Top Tags