Request you to check the FindPIPoint method. Looks like it is unable to find the path of the tag as you are passing only one argument for this method. Please use PI server name, tag or pass full path.
Tried that too but still fails
1 of 1 people found this helpful
What is the actual value of the mytagname variable that you are passing to the FindPIPoint method? It sounds like the path to your point name can't be resolved. Note from the documentation for this method that "The fully qualified pathname should be in the form \\server\point."
Hi Guys Sorry for the delayed reply. Yes you guys were correct i had to pass the pi server before it could work
myPoint = PIPoint.FindPIPoint(localPIServer, mytagname.Trim)