Hi,
We are trying to pass properties in module database in pi ace calculations, but during debug error is coming as piacebifunction.vb file not found.
I have attached vb.net code screenshot with error screenshot.
Please suggest r we mising something to execute this code.
Thanks & Regards,
iLUSAUD
Imports System
Imports OSIsoft.PI.ACE
Imports OSIsoft.PI.ACE.PIACEBIFunctions
Imports PISDK
Imports PISDKCommon
Imports System.Object
Public Class ActivePowerCalc
Inherits PIACENetClassModule
'
' Tag Name/VB Variable Name Correspondence Table
' Tag Name VB Variable Name
' ------------------------------------------------------------
'
Public Overrides Sub ACECalculations()
Dim rootmodule As PIModule
Dim sitecode As PIProperty
Dim tempTag As PISDK.PIPoint
Dim taglist As PISDK.PointList
Dim mypisdk As PISDK.PISDK
Dim piserver As PISDK.Server
Dim tagvalue As PISDK.PIValue
Dim myContext As PISDK.PIModule = PIACEBIFunctions.GetPIModuleFromPath(Context)
mypisdk = New PISDK.PISDK
piserver = mypisdk.Servers("PISERVER")
rootmodule = GetPIModuleFromPath(Context)
sitecode = rootmodule.PIProperties("SiteCode")
End Sub
Protected Overrides Sub InitializePIACEPoints()
End Sub
'
' User-written module dependent initialization code
'
Protected Overrides Sub ModuleDependentInitialization()
End Sub
'
' User-written module dependent termination code
'
Protected Overrides Sub ModuleDependentTermination()
End Sub
End Class