{"id":42,"date":"2017-06-13T19:28:26","date_gmt":"2017-06-13T19:28:26","guid":{"rendered":"http:\/\/namauro.knight.domains\/samarnauzs\/?p=42"},"modified":"2017-06-13T20:19:58","modified_gmt":"2017-06-13T20:19:58","slug":"switching-between-aps-data-and-in-house-data","status":"publish","type":"post","link":"https:\/\/namauro.knight.domains\/samarnauzs\/2017\/06\/13\/switching-between-aps-data-and-in-house-data\/","title":{"rendered":"Switching Between APS data and In-House Data"},"content":{"rendered":"<p>The VI discussed in this post is a work in progress which will be able to switch between using the <strong>X-Ray batch VI<\/strong> and an <strong>In-House XRD VI<\/strong>. We will call this the\u00a0<strong>Main VI<\/strong>.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-44 \" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/APStrue.png\" alt=\"\" width=\"331\" height=\"318\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/APStrue.png 499w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/APStrue-300x289.png 300w\" sizes=\"(max-width: 331px) 100vw, 331px\" \/><img loading=\"lazy\" class=\"alignnone wp-image-48 \" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/XRDfalse.png\" alt=\"\" width=\"332\" height=\"348\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/XRDfalse.png 487w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/XRDfalse-285x300.png 285w\" sizes=\"(max-width: 332px) 100vw, 332px\" \/><\/p>\n<p>The two images above display the block diagram. If the condition is true, then the <strong>X-Ray Batch VI<\/strong> will execute. If the condition is false then the<strong>\u00a0In-House XRD VI<\/strong> will execute.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-47 alignnone\" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/StartupTabs-298x300.png\" alt=\"\" width=\"182\" height=\"183\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/StartupTabs-298x300.png 298w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/StartupTabs-150x150.png 150w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/StartupTabs.png 588w\" sizes=\"(max-width: 182px) 100vw, 182px\" \/> <img loading=\"lazy\" class=\"alignnone wp-image-46\" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/RawData-300x252.png\" alt=\"\" width=\"221\" height=\"185\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/RawData-300x252.png 300w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/RawData.png 574w\" sizes=\"(max-width: 221px) 100vw, 221px\" \/><\/p>\n<p>The upper left image shows how the various files are entered by the user in the <strong>Main VI<\/strong>. The upper right image is the resulting graph of the <strong>In-House XRD VI<\/strong>.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-45 size-full\" src=\"http:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/buildingArray.png\" alt=\"\" width=\"574\" height=\"243\" srcset=\"https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/buildingArray.png 574w, https:\/\/namauro.knight.domains\/samarnauzs\/wp-content\/uploads\/sites\/22\/2017\/06\/buildingArray-300x127.png 300w\" sizes=\"(max-width: 574px) 100vw, 574px\" \/><\/p>\n<p>The image above shows the block diagram for the <strong>In-House XRD VI<\/strong>. The raw data is taken from an Excel csv file. However, the csv file contains other information besides the raw data. So we must start at the desired index in the csv file. The code in enclosed by the red circle creates sub-arrays for the angle axis and intensity axis.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The VI discussed in this post is a work in progress which will be able to switch between using the X-Ray batch VI and an In-House XRD VI. We will call this the\u00a0Main VI. The two images above display the block diagram. If the condition is true, then the X-Ray Batch VI will execute. If<\/p>\n<div class=\"read-more\"><a href=\"https:\/\/namauro.knight.domains\/samarnauzs\/2017\/06\/13\/switching-between-aps-data-and-in-house-data\/\">Read More<\/a><\/div>\n","protected":false},"author":60,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[],"_links":{"self":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/42"}],"collection":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/users\/60"}],"replies":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":9,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/posts\/42\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namauro.knight.domains\/samarnauzs\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}