AnsweredAssumed Answered

PI DataLink 2015 connect via code

Question asked by Nocodes79 Champion on Nov 3, 2016
Latest reply on Nov 4, 2016 by pthivierge

Hi everyone,


we are trying to update an old PI DataLink report to work with new DataLink 2015.


The old VBA code used a specific PI user to connect Excel and DataLink through PI-SDK to a PI Server using the object PISDKDlg.Connections.

With recent versions of DataLink, PI SDK objects do not work as the DataLink connection are done through AF-SDK and connecting the PI -SDK part won't help.


I was thinking about using an intermediate AF Wrapper library to accomplish the connection operation for DataLink and I suppose it should work easily.

Any other idea?