{"id":12431,"date":"2020-06-24T16:20:45","date_gmt":"2020-06-24T07:20:45","guid":{"rendered":"https:\/\/lp-research.com\/?p=12431"},"modified":"2025-05-27T12:49:43","modified_gmt":"2025-05-27T03:49:43","slug":"lpms-and-labview","status":"publish","type":"post","link":"https:\/\/www.lp-research.com\/ja\/lpms-and-labview\/","title":{"rendered":"How to Use LPMS IMUs with LabView"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<h3>Introduction<\/h3>\n<p>LabView by <a href=\"https:\/\/www.ni.com\/en-us.html\" rel=\"noopener noreferrer\" target=\"_blank\"><u>National Instruments (NI)<\/u><\/a> is one of the most popular multi-purpose solutions for measurement and data acquisition tasks. A wide range of hardware components can be connected to a central control application running on a PC. This application contains a full graphical programming language that allows the creation of so called virtual instruments (VI).<\/p>\n<p>Data can be acquired inside a LabView application via a variety of communication interfaces, such as Bluetooth, serial port etc. A LabView driver that can communicate with our LPMS units has been a frequently requested feature from our customers for some time, so that we decided to create this short example to give a general guideline.<\/p>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<h3>A Simple Example<\/h3>\n<p>The example shown here specifically works with LPMS-B2, but it is easily customizable to work with other sensors in our product line-up. In order to communicate with LPMS-B2 we use LabView&#8217;s built-in Bluetooth access modules. We then parse the incoming data stream to display the measured values.<\/p>\n<p>The source code repository for this example is <a href=\"https:\/\/bitbucket.org\/lpresearch\/lpmslabviewexample\/src\/master\/\" rel=\"noopener noreferrer\" target=\"_blank\"><u>here<\/u><\/a>.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;12435&#8243; img_size=&#8221;medium&#8221; alignment=&#8221;center&#8221; onclick=&#8221;img_link_large&#8221;][vc_column_text]<\/p>\n<p><strong>Figure 1<\/strong> &#8211; Overview of a minimal virtual instrument (VI) to acquire data from LPMS-B2<\/p>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<p>Fig. 1 shows an overview of the example design to acquire the accelerometer X, Y, Z axes of the IMU and displays them on a simple front panel. Fig. 2 &#038; 3 below show the virtual instrument in more detail. After reading out the raw data stream from the Bluetooth interface, this data stream is converted into a string. The string is then evaluated to find the start and stop character sequence. The actual data is finally extracted depending on its position in the data packet.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;12432&#8243; img_size=&#8221;medium&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<p><strong>Figure 2<\/strong> &#8211; Bluetooth access and initial data parsing<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;12441&#8243; img_size=&#8221;large&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<p><strong>Figure 3<\/strong> &#8211; Extraction of timestamp, accelerometer X, Y, Z values<\/p>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<h3>Notes<\/h3>\n<p>Please note that the example requires manually entering the Bluetooth ID of the LPMS-B2 in use. The configuration of the data parsing is static. Therefore the output data of the sensor needs to be configured and saved to sensor flash memory in the LPMS-Control application. For reference please check the <a href=\"https:\/\/lp-research.com\/wp-content\/uploads\/2020\/04\/20200330LpmsUserManual.pdf\"><u>LPMS manual<\/u><\/a>.<\/p>\n<p>An initial version of this virtual instrument was kindly provided to us by Dr. Patrick Esser, head of the <a href=\"https:\/\/www.brookes.ac.uk\/\" rel=\"noopener noreferrer\" target=\"_blank\"><u>Movement Science Group<\/u><\/a> at Oxford Brooks University, UK.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text] Introduction LabView by National Instruments (NI) is one of the most popul [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,49],"tags":[],"class_list":["post-12431","post","type-post","status-publish","format-standard","hentry","category-blog","category-projects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.1 (Yoast SEO v24.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use LPMS IMUs with LabView - LP-Research<\/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:\/\/www.lp-research.com\/lpms-and-labview\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use LPMS IMUs with LabView\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text] Introduction LabView by National Instruments (NI) is one of the most popul [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lp-research.com\/lpms-and-labview\/\" \/>\n<meta property=\"og:site_name\" content=\"LP-Research\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lpresearch\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-24T07:20:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-27T03:49:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png\" \/>\n\t<meta property=\"og:image:width\" content=\"245\" \/>\n\t<meta property=\"og:image:height\" content=\"104\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Klaus Petersen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LPResearch\" \/>\n<meta name=\"twitter:site\" content=\"@LPResearch\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Klaus Petersen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/\"},\"author\":{\"name\":\"Klaus Petersen\",\"@id\":\"https:\/\/52.42.213.164\/#\/schema\/person\/d33893eacbac18042e119cbbb28760c6\"},\"headline\":\"How to Use LPMS IMUs with LabView\",\"datePublished\":\"2020-06-24T07:20:45+00:00\",\"dateModified\":\"2025-05-27T03:49:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/\"},\"wordCount\":462,\"publisher\":{\"@id\":\"https:\/\/52.42.213.164\/#organization\"},\"articleSection\":[\"Blog\",\"Projects\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/\",\"url\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/\",\"name\":\"How to Use LPMS IMUs with LabView - LP-Research\",\"isPartOf\":{\"@id\":\"https:\/\/52.42.213.164\/#website\"},\"datePublished\":\"2020-06-24T07:20:45+00:00\",\"dateModified\":\"2025-05-27T03:49:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lp-research.com\/lpms-and-labview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lp-research.com\/lpms-and-labview\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/52.42.213.164\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use LPMS IMUs with LabView\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/52.42.213.164\/#website\",\"url\":\"https:\/\/52.42.213.164\/\",\"name\":\"LP-RESEARCH\",\"description\":\"Advanced Sensor Fusion Solution and IMUs\",\"publisher\":{\"@id\":\"https:\/\/52.42.213.164\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/52.42.213.164\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/52.42.213.164\/#organization\",\"name\":\"LP-RESEARCH Inc.\",\"url\":\"https:\/\/52.42.213.164\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/52.42.213.164\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png\",\"contentUrl\":\"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png\",\"width\":245,\"height\":104,\"caption\":\"LP-RESEARCH Inc.\"},\"image\":{\"@id\":\"https:\/\/52.42.213.164\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lpresearch\",\"https:\/\/x.com\/LPResearch\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/52.42.213.164\/#\/schema\/person\/d33893eacbac18042e119cbbb28760c6\",\"name\":\"Klaus Petersen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/52.42.213.164\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b49144226532e2260097f60df3d62793d0ac9d8a2bd5c475971988daa794271?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b49144226532e2260097f60df3d62793d0ac9d8a2bd5c475971988daa794271?s=96&d=retro&r=g\",\"caption\":\"Klaus Petersen\"},\"description\":\"I like to create magical things, especially projects related to new technologies like augmented and virtual reality, mobile robotics and MEMS-based sensor networks. I code in C(++) and Python, trying to keep up with my very talented colleagues :-)\",\"url\":\"https:\/\/www.lp-research.com\/ja\/author\/klauspetersenlpresearch\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use LPMS IMUs with LabView - LP-Research","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:\/\/www.lp-research.com\/lpms-and-labview\/","og_locale":"ja_JP","og_type":"article","og_title":"How to Use LPMS IMUs with LabView","og_description":"[vc_row][vc_column][vc_column_text] Introduction LabView by National Instruments (NI) is one of the most popul [&hellip;]","og_url":"https:\/\/www.lp-research.com\/lpms-and-labview\/","og_site_name":"LP-Research","article_publisher":"https:\/\/www.facebook.com\/lpresearch","article_published_time":"2020-06-24T07:20:45+00:00","article_modified_time":"2025-05-27T03:49:43+00:00","og_image":[{"width":245,"height":104,"url":"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png","type":"image\/png"}],"author":"Klaus Petersen","twitter_card":"summary_large_image","twitter_creator":"@LPResearch","twitter_site":"@LPResearch","twitter_misc":{"\u57f7\u7b46\u8005":"Klaus Petersen","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/#article","isPartOf":{"@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/"},"author":{"name":"Klaus Petersen","@id":"https:\/\/52.42.213.164\/#\/schema\/person\/d33893eacbac18042e119cbbb28760c6"},"headline":"How to Use LPMS IMUs with LabView","datePublished":"2020-06-24T07:20:45+00:00","dateModified":"2025-05-27T03:49:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/"},"wordCount":462,"publisher":{"@id":"https:\/\/52.42.213.164\/#organization"},"articleSection":["Blog","Projects"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/","url":"https:\/\/www.lp-research.com\/lpms-and-labview\/","name":"How to Use LPMS IMUs with LabView - LP-Research","isPartOf":{"@id":"https:\/\/52.42.213.164\/#website"},"datePublished":"2020-06-24T07:20:45+00:00","dateModified":"2025-05-27T03:49:43+00:00","breadcrumb":{"@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lp-research.com\/lpms-and-labview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lp-research.com\/lpms-and-labview\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/52.42.213.164\/"},{"@type":"ListItem","position":2,"name":"How to Use LPMS IMUs with LabView"}]},{"@type":"WebSite","@id":"https:\/\/52.42.213.164\/#website","url":"https:\/\/52.42.213.164\/","name":"LP-RESEARCH","description":"Advanced Sensor Fusion Solution and IMUs","publisher":{"@id":"https:\/\/52.42.213.164\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/52.42.213.164\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/52.42.213.164\/#organization","name":"LP-RESEARCH Inc.","url":"https:\/\/52.42.213.164\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/52.42.213.164\/#\/schema\/logo\/image\/","url":"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png","contentUrl":"https:\/\/www.lp-research.com\/wp-content\/uploads\/2015\/08\/2_LogoNeda.png","width":245,"height":104,"caption":"LP-RESEARCH Inc."},"image":{"@id":"https:\/\/52.42.213.164\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lpresearch","https:\/\/x.com\/LPResearch"]},{"@type":"Person","@id":"https:\/\/52.42.213.164\/#\/schema\/person\/d33893eacbac18042e119cbbb28760c6","name":"Klaus Petersen","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/52.42.213.164\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b49144226532e2260097f60df3d62793d0ac9d8a2bd5c475971988daa794271?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b49144226532e2260097f60df3d62793d0ac9d8a2bd5c475971988daa794271?s=96&d=retro&r=g","caption":"Klaus Petersen"},"description":"I like to create magical things, especially projects related to new technologies like augmented and virtual reality, mobile robotics and MEMS-based sensor networks. I code in C(++) and Python, trying to keep up with my very talented colleagues :-)","url":"https:\/\/www.lp-research.com\/ja\/author\/klauspetersenlpresearch\/"}]}},"_links":{"self":[{"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/posts\/12431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/comments?post=12431"}],"version-history":[{"count":20,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/posts\/12431\/revisions"}],"predecessor-version":[{"id":22011,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/posts\/12431\/revisions\/22011"}],"wp:attachment":[{"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/media?parent=12431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/categories?post=12431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lp-research.com\/ja\/wp-json\/wp\/v2\/tags?post=12431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}