{"id":64183,"date":"2023-11-24T10:25:37","date_gmt":"2023-11-24T02:25:37","guid":{"rendered":"https:\/\/oihelp.corporate.ifs.com\/help\/?page_id=64183"},"modified":"2025-10-28T18:35:34","modified_gmt":"2025-10-28T10:35:34","slug":"canary-adaptor","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/canary-adaptor\/","title":{"rendered":"Canary Adaptor"},"content":{"rendered":"\n<p class=\"left-bar\">The Canary Adaptor supports versions 22.0 and later of the Canary Historian.\u00a0<\/p>\n<p class=\"intro-text\">The Canary Adaptor requires the Canary Historian to be installed to access real-time and historical data from Canary. This requires a license, which is a third party component.<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Adaptor Settings<\/h2>\n<p class=\"intro-text\">The following tables list the adaptor's parameters, along with the <em>name<\/em> and <em>type<\/em> to be used in the Import\/Export spreadsheet.<\/p>\n<table style=\"width: 100%;\">\n<tbody class=\"intro-text\">\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\" width=\"170\"><strong>Parameter<\/strong><\/td>\n<td style=\"height: 24px; width: 40.3125%;\"><strong>Description<\/strong><\/td>\n<td style=\"height: 24px; width: 19.5833%;\"><strong>Name<\/strong><\/td>\n<td style=\"height: 24px; width: 17.1875%;\"><strong>Type<\/strong><\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Host Name<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Fully-qualified domain name of the host.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">HostName<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Port Number<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Port number of the Views Service on the host.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">PortNumber<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">Integer<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>User Name<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">User name to use to connect to the host.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">UserName<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Password<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Password to use to connect to the host.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">Password<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">EncryptedString<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Use Native Sampling<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Determines whether the historian's built-in native sampling should be used or IFS OI Server's own fallback sampling.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">UseNativeSampling<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">Boolean<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Name<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property to use as tag name when fetching data. If this value is not specified then the adaptor will use the original tag name. Also, if this value is configured but the tag property is not found during tag discovery then the adaptor will log a warning and use the original tag name. E.g. <em>Historian ItemId<\/em><\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagName<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Description<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property which contains the tag descriptions.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagDescription<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Minimum<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property which contains the display range minimum values of tags.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagMinimum<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Maximum<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property which contains the display range maximum values of tags.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagMaximum<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Scan Rate<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property which contains the tag scan rates (the values will be treated as milliseconds).<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagScanRate<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"height: 24px; width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Tag Units<\/strong><\/span><\/td>\n<td style=\"height: 24px; width: 40.3125%;\">Name of the tag property which contains the tag unit names.<\/td>\n<td style=\"height: 24px; width: 19.5833%;\">TagUnits<\/td>\n<td style=\"height: 24px; width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Good Qualities<\/strong><\/span><\/td>\n<td style=\"width: 40.3125%;\">Canary returns a status flag with each data point explaining the data quality of that point.\u00a0The config here is a comma separated list of flags, represented in decimal (these flags may be represented in Hexadecimal when viewed in Canary). As a customer can add there own configuration, we allow this list to be customized to suit there needs. A good starting point is:\u00a0 192, 1088, 1216, 2112, 2240, 32768. If a status being returned from Canary is in this list, it will return 100% confidence to Explorer.\u00a0 If the status is not in this list, it will return 0% confidence to Explorer.<\/td>\n<td style=\"width: 19.5833%;\">\u00a0<\/td>\n<td style=\"width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Ignored Qualities<\/strong><\/span><\/td>\n<td style=\"width: 40.3125%;\">Similar to 'Good Qualities' above, we also scan for data point that should be completely ignored by Explorer.\u00a0If the returned status for a data point matches any status in this list, then the data point will be be treated as per the setting below 'Incompatible Value Behavior'.\u00a0By default this is set to Remove Incompatible Values and so will completely remove the data point from being returned to Explorer.<\/td>\n<td style=\"width: 19.5833%;\">\u00a0<\/td>\n<td style=\"width: 17.1875%;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 22.8125%;\"><span style=\"color: #800080;\"><strong>Incompatible Value Behavior<\/strong><\/span><\/td>\n<td style=\"width: 40.3125%;\">This setting determines how data is treated when a data point is detected as being in the Ignored Qualities list, and will determine what happens to the data point if its status list is in the Ignored Qualities field.<br \/>\nYou have some options to remove it completely, set the confidence to zero, or return a data point with a value of Null etc. A good starting point is: 33024, 57344.<\/td>\n<td style=\"width: 19.5833%;\">\u00a0<\/td>\n<td style=\"width: 17.1875%;\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 class=\"page-subheading\">Installation<\/h2>\n<p class=\"intro-text\">This adaptor is included in the Explorer installer.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li>Explorer 4.15.0\n<ul class=\"intro-text\">\n<li>Added Tag Name parameter<\/li>\n<\/ul>\n<\/li>\n<li>Explorer 4.10.6\n<ul class=\"intro-text\">\n<li>First version of the Canary Adaptor<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Canary Adaptor supports versions 22.0 and later of the Canary Historian.\u00a0<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/canary-adaptor\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":65228,"parent":3668,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[98,1143],"class_list":["post-64183","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-adaptors","tag-canary","Version-4-10-6","Version-4-15","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=64183"}],"version-history":[{"count":16,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64183\/revisions"}],"predecessor-version":[{"id":71354,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64183\/revisions\/71354"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/65228"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=64183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=64183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=64183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}