Factory Talk Studio VBA code

Dear all,

is there any code for FT View studio VBA to pause pen in trend..?
I have 3 kind trend trying to pause all of them with one button...without click the exist pause tab..in trend window.
 
Yes I have done something similar. I am assuming you are using SE

Look into the object browser find the trend object and all the methods and properties should be listed in there.

Page 614

http://literature.rockwellautomation.com/idc/groups/literature/documents/um/viewse-um006_-en-e.pdf


I think you just do an onClick or Onrelease function on your button and can access your trend objects and manipulate them all at once. It's been a while since I did it but I know it can be done.

When I get home to my copy of FTView I can make you a sample function.
 
Thank you sir...
i already read your suggestion attachement but..it will be help...for sample codeing....
Happy new year...anyway ...^.^ ....
 
The basic functionality in vba would be

'Pause Scrolling Function
Private Sub Button1_Released()
Trend1.Scroll = False
Trend2.Scroll = False
End Sub

'Resume Scrolling Function
Private Sub Button2_Released()
Trend1.Scroll = True
Trend2.Scroll = True
End Sub

Again this is very basic but can serve as a starting point for you simply swap out
Button1 with you button object's name
trend1 with your trend object's name

etc....

make sure all elements are exposed to VBA
right click the objects on your display go to property panel and on the drop down for Expose to VBA select VBA control
 
Dear sir,

Thank you for you goodness to help me out.. God Bless you... its works...fantastic...its makes me easy to analyze each of my system trend same time, same moment, and same data....🍺

attachment.php
 

Similar Topics

I have a PanelView Plus 1500 that has failed, or at least partially failed. The problem is that whenever the terminal is powered up, there is...
4
Replies
357
Views
I have an application a coworker retrieved from a PanelView Plus that I need to open and inspect. I still have FCTME View version 11.00 and it is...
11
Replies
1,200
Views
Hello Everyone, I am getting a Trigger Value is repeated when I try to add new alarms in Alarm Setup on Factory Talk View Studio - View Machine...
8
Replies
606
Views
Hi everyone, I've been working on getting an HMI up and running and have been having issues getting factory talk view studio to allow me to save...
6
Replies
1,851
Views
I have an alarm list setup in factorytalk ME. The alarms all trigger like they should. I have an acknowledge button set up for each different...
1
Replies
879
Views
Top