{"id":3583,"date":"2019-03-25T17:44:59","date_gmt":"2019-03-25T20:44:59","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/"},"modified":"2019-06-10T13:51:52","modified_gmt":"2019-06-10T16:51:52","slug":"using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/","title":{"rendered":"Using the Viewer in Elipse E3: Chapter 9 &#8211; Events in the Server with Screen Calls."},"content":{"rendered":"<div align=\"justify\">\n<p>The events that take place in the server (alarms, tag variation, historics, etc.) can&#8217;t call Viewer-related commands directly. To do so, you must create an event in the Viewer that happens only upon the desired condition.<\/p>\n<p>For example: whenever the number of alarms varies, the alarms screen opens. If there are three users connected to the application, where should the Alarms screen open? In all alarms? In only one? How is this decided?<\/p>\n<p>In this case, the first step is to create an event in the Viewer object that fires whenever an alarm occurs. To do so, follow these procedures:<\/p>\n<ul>\n<li>Access the scripts from Viewer object.<\/li>\n<li>Create a new user event.<\/li>\n<li>At <b>Property or expression<\/b> field, select the alarm server&#8217;s <i>ActiveAlarms <\/i>property.<\/li>\n<li>Check the <b>Always when property\/expression<\/b> changes its value option.<\/li>\n<\/ul>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5282\/1.png\" alt=\"\" width=\"393\" height=\"300\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>The next step is to set up a screen that will open when this event is fired:<\/p>\n<ul>\n<li>In the newly created event, insert an <b>Open Screen<\/b> pick.<\/li>\n<li>Set up the name of the screen to be opened, as well as its settings.<\/li>\n<\/ul>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5282\/2.png\" alt=\"\" width=\"483\" height=\"416\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p><b>PRO TIP<\/b>: Whenever you want to open a pop-up screen, type the name of a frame that doesn&#8217;t exist in the application in the <b>In Frame<\/b> field of the <b>Open Screen<\/b> pick. This frame will be created temporarily, and will behave as a pop-up one.<\/p>\n<p><span style=\"color: #3366ff; font-size: large;\"><b>Exercises<\/b><\/span><\/p>\n<ol>\n<li>Create a logic operation in the application that calls the alarm screen whenever a new alarm in on.<\/li>\n<li>Create a logic operation in the application that opens a message box whenever a variable&#8217;s value is edited.<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The events that take place in the server (alarms, tag variation, historics, etc.) can&#8217;t call Viewer-related commands directly. To do so, you must create an event in the Viewer that&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[767],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.[:] - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.\" \/>\n<meta property=\"og:description\" content=\"The events that take place in the server (alarms, tag variation, historics, etc.) can&#8217;t call Viewer-related commands directly. To do so, you must create an event in the Viewer that&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:44:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-10T16:51:52+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5282\/1.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Using the Viewer in Elipse E3: Chapter 9 &#8211; Events in the Server with Screen Calls.\",\"datePublished\":\"2019-03-25T20:44:59+00:00\",\"dateModified\":\"2019-06-10T16:51:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\"},\"wordCount\":273,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Viewer\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\",\"name\":\"[:pt]Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:44:59+00:00\",\"dateModified\":\"2019-06-10T16:51:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the Viewer in Elipse E3: Chapter 9 &#8211; Events in the Server with Screen Calls.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.[:] - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.[:] - Elipse Knowledgebase","og_description":"The events that take place in the server (alarms, tag variation, historics, etc.) can&#8217;t call Viewer-related commands directly. To do so, you must create an event in the Viewer that&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:44:59+00:00","article_modified_time":"2019-06-10T16:51:52+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5282\/1.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Using the Viewer in Elipse E3: Chapter 9 &#8211; Events in the Server with Screen Calls.","datePublished":"2019-03-25T20:44:59+00:00","dateModified":"2019-06-10T16:51:52+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/"},"wordCount":273,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Viewer"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/","url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/","name":"[:pt]Using the Viewer in Elipse E3: Chapter 9 - Events in the Server with Screen Calls.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:44:59+00:00","dateModified":"2019-06-10T16:51:52+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-9-events-in-the-server-with-screen-calls\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Using the Viewer in Elipse E3: Chapter 9 &#8211; Events in the Server with Screen Calls."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3583"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=3583"}],"version-history":[{"count":1,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3583\/revisions"}],"predecessor-version":[{"id":7113,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3583\/revisions\/7113"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=3583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=3583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=3583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}