Hello My friends:
I want to extract time stamps and values from a process information source and display it in an ASP.net web page Here is what I have worked out so far:
The target page contains this:
<table>
<%:theResultsList("SINUSOID") %>
</table>
The code behind page contains this function:
public string theResultsList(string theTagName)
{
var _pisdk = new PISDK.PISDK();
PISDK.Server piServer = _pisdk.Servers["PIServerNameHere"];
piServer.Open();
PISDK.PIPoint mypoint = piServer.PIPoints[theTagName];
string theEnvelopePlease = "";
string startTime;
string endTime;
PISDK.PIValues myResultsList;
startTime = "*-1.5h";
endTime = "*";
myResultsList = mypoint.Dat ...
Go to the complete details ...