Question:
How can I make it impossible for any alarms to be acknowledged in my application when no user is logged on?
Solution:
E3’s default setting is to have all its screen objects available when there is no user logged on. To change this, there are two possibilities:
- You can develop your application so as not to allow any operators to reach the alarms screen in case there is no user logged on; or
- You can paste the following script into E3Alarm’s Click, DblClick, or MouseDown events:
if Application.User = “” then
MsgBox “No user logged on!”
end if
MsgBox “No user logged on!”
end if