OntheFly
Member
Hello, this is my first time posting and I am looking for assistance for a specific issue I am having. I am doing work within FactoryTalk SE that involves using multiple thin clients and multiple screens to see data from. This issue is specifically referring to a popup that occurs every so often that--when clicked--will trigger an action in the code.
The popup displays on every screen, however when the action button is pressed, only that respective popup goes away on that respective screen. All the other popups on all the other screens still exist. The problem occurs because, as those popups exist, the action button could still be pressed by another operator, triggering the bit in the code again and reversing what was done.
The VBA code looks like this:
Private Sub "Variable_Name"_Change()
If "Variable_Name".Value = 1 Then
Application.ExecuteCommand ("Display "Variable_Name"_popup")
End If
End Sub
On the popup itself the button properties look like this:
under the 'Action' tab
;Abort
;Toggle "TAG_FOLDER"\"TAG_NAME"
I'm very inexperienced with automation and there is so much to learn, so if this post is hard to understand or if I haven't conveyed my problem/current config well enough then I apologize. Any input on this would be greatly appreciated.
The popup displays on every screen, however when the action button is pressed, only that respective popup goes away on that respective screen. All the other popups on all the other screens still exist. The problem occurs because, as those popups exist, the action button could still be pressed by another operator, triggering the bit in the code again and reversing what was done.
The VBA code looks like this:
Private Sub "Variable_Name"_Change()
If "Variable_Name".Value = 1 Then
Application.ExecuteCommand ("Display "Variable_Name"_popup")
End If
End Sub
On the popup itself the button properties look like this:
under the 'Action' tab
;Abort
;Toggle "TAG_FOLDER"\"TAG_NAME"
I'm very inexperienced with automation and there is so much to learn, so if this post is hard to understand or if I haven't conveyed my problem/current config well enough then I apologize. Any input on this would be greatly appreciated.