Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Custom trends
PostPosted: Fri Jun 21, 2019 3:39 am 

Joined: Thu Jun 20, 2019 3:10 am
Posts: 1

Offline
Hi,
I am looking for some help to create customized trends. I would like to add new Curves to exisitng trendviewer window. I can add new curve object and it is displayed in legend with a title but I am unable to cionnect it to tag and connect to value.

Curve curve = new Curve();
curve.Name = "Test1";
curve.DisplayName = "Globals.Tags.HMI_Sel_WB1";
curve.Value =Globals.Tags.DB_289_TT_2002.Value;

TrendViewer.Curves.Add(curve);

I was trying to change DataSource property for Curve but it is read only.

Has anyone had a luck with something similliar?

Thanks for reply.


 Profile  
 
 Post subject: Re: Custom trends
PostPosted: Tue Oct 22, 2019 3:00 pm 
User avatar

Joined: Thu Nov 16, 2017 3:32 pm
Posts: 94

Offline
Here is an example project that uses dynamic trends in a trend viewer
Attachment:
DynamicTrendViewerCurves.zip [41.19 KiB]
Downloaded 57 times

_________________
iX Quick Links:
iX Reference Manual: https://www.beijerelectronics.com/en/Support/Help___online?docId=68072
iX Video Tutorials: https://www.beijerelectronics.com/en/Products/software/ix-hmi-software/Vimeo___video___page


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron