FactoryTalk View - Docked Menu and SubMenu

Suseh

Member
Join Date
Apr 2015
Location
Rome
Posts
62
Hi All!

I have problem with docked menu, which control submenu.
On the top of all displays i put my docked menu.
My docked menu allow to change displays.
I want also to add functionality with submenu.
For instance one of my button (i named it Trend) should show submenu with
Actual Trend, Historical Trend (point #1)
When i choose something (something means Actual Trend or Historical Trend) my SubMenu disappear and change display to the correct one.
It is simple, we can do this with command:

Display display_name
Abort

But what when user do not choose something from submenu #1 and click
on submenu #2 (for instance current and historical alarms). So, in this example i will have two submenu's open at the same time.
How to avoid this?

I don't find any function which will tell me if display is active/open.

Thanks for any advice.

FactoryTalk_DockedMenu.jpg
 
You could look at making each submenu button abort the other three before displaying it's own:

Abort [submenu1]; Abort [submenu2]; Abort [submenu3]; Display [submenu4]

It's a bit "brute force" and will result in diagnostic messages saying it can't abort a display that's not open, but it would mean you only ever had one submenu open at once.
 
ASF at first, i used this way but it's not look very nice.
The red icon with white cross in diagnostic window doesn't look so cool :) Especially when i have ~50 submenu's.

labeledas,
SE? I will check this today in manual.
 
Last edited:
What Factorytalk View are you using? ME or SE?
Why bother having the diagnostics window open at all? It is almost never needed for an operator, and you can read it remotely if you do need it. All FTView diagnostics just end up in the Windows Event Log (SE).

In SE, try adding the following to each submenu window's VBA code (assuming each submenu is a separate window):

Code:
Private Sub Display_Deactivate()

UnloadDisplay "ThisDisplayName.gfx"

End Sub

With that code, as soon as the user touches anywhere on the screen outside of the window, it will unload. Obviously, replace "ThisDisplayName.gfx" with the actual name of the display.
 
What Factorytalk View are you using? ME or SE?
SE

Why bother having the diagnostics window open at all? It is almost never needed for an operator, and you can read it remotely if you do need it. All FTView diagnostics just end up in the Windows Event Log (SE)

In most cases that is true...i must rethink of having it on the screen.

And yes, my submenu's are separate windows.

I've tested your solution and it works perectly.
I think this solution is worth to remember for menu/submenu design.
Thanks.
 

Similar Topics

Hello, I have a panelview plus that reads from 4 different PLC's. 2 of these used to be Micrologix PLC's and someone else went and updated them to...
Replies
3
Views
99
Hi. I need to create several alarm servers in an application, but first I need to know if there is any impact on communication, or if more...
Replies
0
Views
71
Hello all, I'm having trouble opening an application. After clicking open I'm prompted to login and after putting in username & password it...
Replies
0
Views
87
Has anyone found information on using the variable message file? I keep looking for documentation on how to implement the message file name as a...
Replies
0
Views
74
I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
5
Views
260
Back
Top Bottom