is it possible to create a PDI-File for the Processbook with VB.NET or can i use a PI-Trend-Contol in VB.NET ?
I want to generate a Trend with the Values from the PI-Server with VB.NET.
Has somebody a solution for me ?
Where and how do you want to show the trend ultimately? I know you wrote VB.NET, but are you talking about a custom WinForms application? Is it in Excel with some VB.NET add-in? Is it ultimately for a web-based interface (ASP.NET with code-behind VB.NET)?
Either way, you need to know that the PI Trend control itself is not available for third-party development (i.e. this is a proprietary control used by OSIsoft). I suggest you take a look at this other post of mine, for options around trending in .NET.
it must not be a Active-control for a windowsform ! Maybe a Control will be the best Solution. The PointIDs and the space of Time are values out of a database and now i want to bulit with these parts a PDI-File for example on my Desktop.
I want to built these PDI-File from a Windowsform (VB2005).
Can you help me ?
Michael Baldigit must not be a Active-control for a windowsform ! Maybe a Control will be the best Solution
I would suggest you look at the PI ActiveView Webinar under the vCampus Auditorium - Andreas showed how you load a PI ActiveView control in a .NET WinForms application and then manipulate it (e.g. create symbols such as Trends or XY plots).
Hope this is what you were looking for!
Thank you very much !!!
Yes, this ist exactly the solution what i have searched for !!!
I didn't know, that i can create a trend in the PI ActiveView-Control.
I have thank, that i can only load a finsh PDI-File with a trend.
However, now i will use the PI ActiveView-Control !!!
Everything changes !!!
Now, i need a solution for asp.net, but if i see right, i can not take the "PI-ActiveView-Control" in asp.net.
Is this right ?
My programm is written in VS2005 and now i want to built a trend from asp.net.
Is this possible ?
Yes, you should be able to use the PI ActiveView control in an ASP.NET page. Simply by using the HTML 'object' tag with classid="CLSID:4F26B906-2854-11D1-9597-00A0C931BFC8" and the DisplayURL parameter set to the .PDI file you want to display. While it doesn't talk about ASP.NET specifically, the ActiveView User Guide can provide more info as to how use the object tag (vCampus Library > vCampus PI Products Kit > Client Products). However you should be aware of the limitations (both technical and licensing-wise) that this solution implies: for instance, the fact that the control needs to be downloaded to the client machine, and that the client machine needs direct access to the PI Server (e.g. port 5450).
Other options include our PI WebParts for Microsoft SharePoint: PI Trend, PI Graphic, PI ActiveView, and the ad-hoc trend you can invoke using querystring parameters (see this blog post and that other one).
If you need to be developing your own page (as opposed to using PI WebParts), then you can review that post I suggested previously, and consider PI Web Services as the way to feed your page/trend with PI System data.
While my last answer is still in line with the broader topic of this discussion thread (trends/PDIs in VB.NET/ASP.NET), I suspect you may want to know more about PI ActiveView in ASP.NET more specifically at some point. I would like to suggest you start another discussion thread in the appropriate forum (ProcessBook/ActiveView and Microsoft Office Development), should you have questions or comments on that particular topic.
Retrieving data ...