FactoryTalk View SE default display based on computer name

Gener

Lifetime Supporting Member
Join Date
Nov 2017
Location
KS
Posts
7
I have client files running on panel pc in different building all over our facility. I am wanting the display that is built for that building to open by default based on the computer name that is running the client. I have tried a ton of ideas with no luck. I am guess it will most likely be a VBA solution. Any help would be fantastic!!!
 
I usually just create different client runtime configs for different locations. Easy to do. Each config can have their own startup settings.

OG
 
ID: BF2389 | Access Levels: TechConnect
FactoryTalk View SE : How to execute different code based on computer name
 
after hours of trying to figure it out, I did so just after posting this.
Thanks for the replies.

Private Sub Display_AnimationStart()
Dim NodeName As String
NodeName = Environ("COMPUTERNAME")



Text1.Caption = NodeName

If NodeName = "PPCSUB38" Then
Application.ShowDisplay ("SUB38OVERVIEW")
ElseIf NodeName = "PPCDSB6" Then
Application.ShowDisplay ("DSB6Overview")
Else: Application.ShowDisplay ("Splash")
End If





End Sub
 

Similar Topics

Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
125
Hello all, I was modifying an HMI in factory talk and went to change a go to display button using the ... to select from a list as I had done...
Replies
4
Views
155
Hello, We recently upgraded our control server to a newer model. After the transition we are experiencing issues with our trend graphs to where...
Replies
2
Views
118
Hi, I wanted to ask is there a way to have a visibility expression use the IP address of the HMI (Dynics, not PV) to show certain elements? The...
Replies
3
Views
198
This is admittedly a pretty obscure problem, but maybe someone else has run into it, or at least something similar. For reasons I won't get into...
Replies
3
Views
130
Back
Top Bottom