SE is Client/Server based so it's a bit more difficult but doable. From the knowledgebase:
Complete the following steps:
Use an Event Detector to set a memory tag to 1. Alternately, create an object (for example a button or an object with Touch animation) that sets the tag.
Create a numeric display that monitors the tag in step 1.
Right-click the new numeric display and select Property Panel.
Make sure the ExposedToVBA property is set to VBA Control.
Close the Property Panel.
Right-click the numeric display. Select VBA Code.
In the Change event for this numeric display, add the following code:
Private Sub NumericDisplay1_Change()
On Error GoTo ErrorHandler
If Not IsError(NumericDisplay1.Value) Then
If NumericDisplay1.Value = 1 Then
ExecuteCommand "command string"
End If
End If
Exit Sub
ErrorHandler:
LogDiagnosticsMessage Err.Description, FTDiagSeverityError
End Sub
For example, to display a graphic called "Popup", the syntax would be:
ExecuteCommand "Display Popup"
Since this will execute on the client, no error will occur. Other FactoryTalk View SE commands or macros can also be called in this way.
This approach requires the graphic to be loaded at all times. This can easily be achieved by adding the following command to your client's startup macro, not the HMI server startup macro:
Display MyScreenName /ZA
If tag parameters are to be included in the Display command, they must be concatenated to the command string using Me.TagParameters(<index>) The following subroutine call will not execute correctly:
ExecuteCommand "Display MyScreenName /T#1"
Call the subroutine with the syntax below. Refer to : 26950 - Text Parameters/Invoke Method to Assign Text.
ExecuteCommand "Display MyScreenName /T" & Me.TagParameters(1)
Verify the VBA Code NumericDisplay1 number matches the NumericDisplay1 number of the object. If the object is NumericDisplay3 then the VBA code needs to be modified. NumericDisplay1 would have to be replaced with NumericDisplay3 for the code to work correctly. To verify the number of the object right-click on the Numeric Display inside FactoryTalk View Stuido and click Property Panel.
Note:To display an alarm screen whenever an HMI alarm occurs, change the memory tag in step 1 to System\ AlarmSummaryItemsUnacked and change the VBA code from: If NumericDisplay1.Value = 1 Then to If NumericDisplay1.Value <> 0 Then
For more VBA examples, you may check: 459824 - FactoryTalk View SE VBA - All You Need To Know - TOC