AnsweredAssumed Answered

SDK AF VB.Net Connect and Read Point Example

Question asked by LarsSchlicht on Oct 23, 2019
Latest reply on Oct 23, 2019 by Rick_Davin_3.0

Hi,

 

iam searching for a Example to Connect to the Data Archive to read a Point.

 

Iam using VB.net with the AFSDK dll.

 


I would like to connect to a pi3 server. I only found examples that connect to the default server.

 

This dont work

 

Dim PIServer As PIServer = New PIServers().Add("piserver")

PIServer.Connect()
Dim myPoint As PIPoint = PIPoint.FindPIPoint(PIServer, "Sinusoid")

MsgBox(myPoint.CurrentValue())

 

 

Thanks

Outcomes