{"id":39,"date":"2017-05-31T19:02:00","date_gmt":"2017-05-31T19:02:00","guid":{"rendered":"http:\/\/namauro.knight.domains\/gblinstrubas\/?p=39"},"modified":"2017-05-31T19:02:00","modified_gmt":"2017-05-31T19:02:00","slug":"creating-a-vi-that-inserts-data","status":"publish","type":"post","link":"https:\/\/namauro.knight.domains\/gblinstrubas\/2017\/05\/31\/creating-a-vi-that-inserts-data\/","title":{"rendered":"Creating a VI that Inserts Data"},"content":{"rendered":"<p>http:\/\/digital.ni.com\/public.nsf\/allkb\/02971A30F5D8FC6986256A0A004F11A0<\/p>\n<p>This is a helpful link<\/p>\n<p>To be able to insert a simple picture into labview only three functions need to be put in the block diagram.<br \/>\nThe first is a read JPEG file icon. The purpose of this icon is that it converts the image files to data so that<br \/>\nit can be read by labview. The next icon that needs to be added is the Draw Flatten Pixel map. This takes the data<br \/>\nand actually creates it into a picture. The final item that is added is the picture icon. This is what actually<br \/>\ndisplays the picture onto the front panel.<\/p>\n<p>Then With Sven I built a program that can take an image file and import so that it is shown on an intensity screen.<br \/>\nThe first icon needed was a file path. While again a read JPEG file icon and a Draw Flatten Pixel map is also<br \/>\nneeded. Then the picture to pix map is included. This takes the picture and converts it into data so that many applications can be used with the picture. A constant needs to be added, this constant tells how many bit the pixel map will be. After this icon an unflatten pixmap icon is added. This is needed because the draw flatten pixel map flattens the data and this icon unflattens it. The last icon that is added is the intensity graph so that the image can be seen on the front panel.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-40\" src=\"http:\/\/namauro.knight.domains\/gblinstrubas\/wp-content\/uploads\/sites\/20\/2017\/05\/Inserting-photos-300x189.png\" alt=\"\" width=\"300\" height=\"189\" srcset=\"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-content\/uploads\/sites\/20\/2017\/05\/Inserting-photos-300x189.png 300w, https:\/\/namauro.knight.domains\/gblinstrubas\/wp-content\/uploads\/sites\/20\/2017\/05\/Inserting-photos.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>In the picture top program is to insert just an image, while the bottom program is to insert an image into an intensity graph.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/digital.ni.com\/public.nsf\/allkb\/02971A30F5D8FC6986256A0A004F11A0 This is a helpful link To be able to insert a simple picture into labview only three functions need to be put in the block diagram. The first is a read JPEG file icon. The purpose of this icon is that it converts the image files to data so that it can be read<\/p>\n<div class=\"read-more\"><a href=\"https:\/\/namauro.knight.domains\/gblinstrubas\/2017\/05\/31\/creating-a-vi-that-inserts-data\/\">Read More<\/a><\/div>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/posts\/39"}],"collection":[{"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":2,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/posts\/39\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namauro.knight.domains\/gblinstrubas\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}