FactoryTalk View Trends

sixcloud

Member
Join Date
Jan 2020
Location
Houston, TX
Posts
3
I have been struggling with something for the better part of a week navigating the ins and outs of (as far as I can tell) poorly documented FactoryTalk VBA.

Specifically I have been working the designing a trending feature where the user can, at runtime, add tags to a saved list. The saved list is a series of HMI tags that hold strings, and the strings are the OPC reference that ultimately gets added.

This is now operational.

Problem is I cannot seem to modify any of the properties of the pen I just added.

For example:

Trend.Pens.Add(blah,blah, blah, blah) x16

This works. I can see the runtime update with the pens I selected, with the units, description, lo/hi EU pulled correctly.

However, if I attempt to access the properties of one of those pens:

Trend.Pens.Item(0).Color = "SOMECOLOR"

I get index out of range.

Monitoring the TREND.PENS, I see 16 items added (which should be happening) but within the PENS I see ITEM. Inside that Item I see nothing. How do I successfully modify the attributes of these pens I have added?
 

Similar Topics

Hi guys, I am trying to get my head around using trends in FTV. As per the manual a data-log model is required to view historical data, but...
Replies
6
Views
2,804
Hello everyone! I am working on a project in FactoryTalk View Studio. I have two issues that I am running into. The first one is dealing with...
Replies
2
Views
1,758
Hi all, I am working in Factorytalk View Studio Machine Edition, Release No. 7.00.00 (CPR 9 SR 6). I have a trend screen which displays 6...
Replies
2
Views
3,221
Dear All, I am unable to see the historcial trends in scada before its working good but present its only coming online trends only not able to...
Replies
0
Views
1,110
I have had this issue since I loaded the new software. This is a stand alone application. The harddrive croaked on old machine with RSVIEW SE 4.0...
Replies
5
Views
7,017
Back
Top Bottom