<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Smart Doctor Assistant Kit using LabVIEW - Final Project</title><link>/products/devtools/ni-labview/b/labview-challenge-blogs/posts/smart-doctor-assistant-kit-using-labview---final-project</link><description>Hi all, in this post i am going to upload my final project. I have been able to design a doctor assistant kit using LabVIEW but with few shortcomings. 
Fig below shows the block diagram of my project.


As shown in the block diagram above, vario...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Smart Doctor Assistant Kit using LabVIEW - Final Project</title><link>https://community.element14.com/products/devtools/ni-labview/b/labview-challenge-blogs/posts/smart-doctor-assistant-kit-using-labview---final-project</link><pubDate>Fri, 27 Oct 2023 16:40:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:39786757-38a1-4f8a-afb6-0ce75dd3a15f</guid><dc:creator>Andrew J</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Looks good, nice idea. &amp;nbsp;With the Waveform, I notice you use an uppercase E rather than a lowercase one - all your other characters are lower case. &amp;nbsp;Did you try putting a breakpoint on the wire leading to the Scan Value function to see if it&amp;#39;s actually getting into that case?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if you realise, but there is a more efficient way of managing your cases. &amp;nbsp;At the moment, you have 5 case structures, and the one that runs is determined by a check against the leading character in the data. &amp;nbsp;You could use just one case structure and do this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;wire the output from the replace substring (the one that you currently have wired to an = block) to the case selector terminal - you don&amp;#39;t need the = block. &amp;nbsp;Then you can change the two entries that are created automatically so that one is just &amp;quot;default&amp;quot; (an error case because it should never get called) and the second to &amp;quot;t&amp;quot;. &amp;nbsp;Then add cases for your remaining letters (right click on the case structure edge.) &amp;nbsp;&lt;/li&gt;
&lt;li&gt;Where you currently have the output of replace substring entering each case into a Scan Value block: pull that scan value out of the case structure and instead wire the output of the Scan Value into the new case structure. &amp;nbsp;This bit of code is the same in each of your current case structures so with just one case, it doesn&amp;#39;t need running 5 times. &amp;nbsp;Hope that makes sense?&lt;/li&gt;
&lt;li&gt;In each case in the case structure wire the terminal from the Scan Value to the indicator it is used for. &amp;nbsp;LabVIEW will run the case that matches the input letter, cases don&amp;#39;t have to be just &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;.&lt;/li&gt;
&lt;/ul&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27114&amp;AppID=423&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>