VBA and multiple instances of same display on FTView SE

notausp

Member
Join Date
May 2016
Location
Americana
Posts
18
I have a popup display that opens for motor1, motor2, motor3 etc, using parameters and only one project display "popup". If I develop a vba code that read a tag from plc (using taggroup) and determine if this motorX popup should be closed, when I write ExecuteCommand "Abort popup", all my instances close...but I want only motorX popup instance close.
Any workaround?
 
I found a solution! :)

Syntax
Application.UnloadDisplay [Name], [AllInstances]
AllInstances – is an optional Boolean parameter that, when True, unloads all instances of the display specified by Name if multiple instances are loaded. The default value for AllInstances is True.

So, i wrote:

Application.UnloadDisplay "/::My_Popup", False

and it works now!
Obs. "/::" applies to distributed network.
 

Similar Topics

Hi. I have a Proficy iFIX V5.8 & V5.5 & V3.5. In the iFIX WorkSpace V5.5, V5.8 can open multiple instances of a single picture: OpenPicture &...
Replies
0
Views
3,113
Hi Guys, Looking for someone well versed in VBA that can either tell me a certain naming convention or point me in the right direction (I'm a...
Replies
0
Views
57
I need to use a TreeView in my FactoryTalk SE project and i found it under "ActiveX Object" > "Microsoft TreeView Control 6.0 (SP4)". Everything...
Replies
0
Views
37
I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
140
Hi everyone Is it possible to change a button image in FactoryTalk View SE (v13.00) using VBA?
Replies
0
Views
82
Back
Top Bottom