<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Math script to MatLab conversion in LabVIEW MathScript RT Module</title>
    <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400143#M2139</link>
    <description>&lt;P&gt;Thank you for the help in this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working with some older course material.&lt;/P&gt;
&lt;P&gt;I think the professor, at the time, wanted the students to exercise different aspects of LabView.&lt;/P&gt;
&lt;P&gt;I started the students using the latest version of LabVIEW (2024) and found that not all previous course material would work.&lt;/P&gt;
&lt;P&gt;I am working with other instructors to deliver the Lab material.&lt;/P&gt;
&lt;P&gt;I am looking for methods to upgrade the course material and not rock the boat too much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The intent of the script is to control a servo motor to move forward then reverse to imitate a waving motion. The user would set the values for the speed and the number of waves before initiating the go logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 13:37:49 GMT</pubDate>
    <dc:creator>mohawkcollege-john</dc:creator>
    <dc:date>2024-10-17T13:37:49Z</dc:date>
    <item>
      <title>Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4399918#M2135</link>
      <description>&lt;P&gt;I cannot figure out how to convert from Labview mathscript to MatLab script.&lt;/P&gt;
&lt;P&gt;I need a reference to do some very simple stuff.&lt;/P&gt;
&lt;P&gt;Does anyone know of tutorials that would help with a conversion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 15:39:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4399918#M2135</guid>
      <dc:creator>mohawkcollege-john</dc:creator>
      <dc:date>2024-10-16T15:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4399967#M2136</link>
      <description>&lt;P&gt;I cannot look at your VI (only access to LabVIEW 2020 at the moment), but I would start by just copying the text between the two nodes and create connectors as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 17:52:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4399967#M2136</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2024-10-16T17:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400034#M2137</link>
      <description>&lt;P&gt;Is there a reason why you chose the Math script way instead of native LabVIEW functions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="santo_13_0-1729137832209.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/74b785ec3e415a3df8eae54810bb7af98c5295ea/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33333838363069423343424539394132433933423934332f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="santo_13_0-1729137832209.png" alt="santo_13_0-1729137832209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 04:04:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400034#M2137</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2024-10-17T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400038#M2138</link>
      <description>&lt;P&gt;Please see if this LabVIEW equivalent makes sense (I don't know what you intended with the logic, but this should match your Math script logic)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="santo_13_0-1729141874618.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/fcaf90b6f6354ea4d2ff826625f03cbf95c37490/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33333838363169374635323633364231463836464132432f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="santo_13_0-1729141874618.png" alt="santo_13_0-1729141874618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 05:12:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400038#M2138</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2024-10-17T05:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400143#M2139</link>
      <description>&lt;P&gt;Thank you for the help in this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working with some older course material.&lt;/P&gt;
&lt;P&gt;I think the professor, at the time, wanted the students to exercise different aspects of LabView.&lt;/P&gt;
&lt;P&gt;I started the students using the latest version of LabVIEW (2024) and found that not all previous course material would work.&lt;/P&gt;
&lt;P&gt;I am working with other instructors to deliver the Lab material.&lt;/P&gt;
&lt;P&gt;I am looking for methods to upgrade the course material and not rock the boat too much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The intent of the script is to control a servo motor to move forward then reverse to imitate a waving motion. The user would set the values for the speed and the number of waves before initiating the go logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 13:37:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400143#M2139</guid>
      <dc:creator>mohawkcollege-john</dc:creator>
      <dc:date>2024-10-17T13:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400193#M2140</link>
      <description>&lt;P&gt;If this is a LabVIEW course, polluting it with Matlab is a distraction that will dramatically complicate things and distracts from the pure beauty of a dataflow language. Santo already showed how it could be implemented in pure g.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:55:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400193#M2140</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2024-10-17T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400198#M2141</link>
      <description>&lt;P&gt;The course is an IOT type of course from several years ago.&lt;/P&gt;
&lt;P&gt;The original owner of the course is no longer with the program.&lt;/P&gt;
&lt;P&gt;I understand that any course material could be better.&lt;/P&gt;
&lt;P&gt;The course deals more with Arduino, sensors and simple control.&lt;/P&gt;
&lt;P&gt;The LabVIEW is the tool which is hosting concepts of data I/O for the programmer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was not critical about the delivery because I am a temp or sessional instructor for the delivery..&lt;/P&gt;
&lt;P&gt;I will suggest the ideas to my supervisor at the time of course review.&lt;/P&gt;
&lt;P&gt;The other instructors will have the students work with LabVIEW 2022 so they can deliver the course.as it was originally designed.&lt;/P&gt;
&lt;P&gt;Thank you for all your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 16:20:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4400198#M2141</guid>
      <dc:creator>mohawkcollege-john</dc:creator>
      <dc:date>2024-10-17T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4405036#M2142</link>
      <description>&lt;P&gt;I tried the program and it did not work.&lt;/P&gt;
&lt;P&gt;This is a sub vi that will take the input of Speed and NumberOfWaves and provide an output of a changing Angle1 between an upper and lower value between 0 and 180 degrees.&lt;/P&gt;
&lt;P&gt;The Speed variable determines the rate at which the Angle changes. The limits are checked to ensure the output does not go outside the useable range.&lt;/P&gt;
&lt;P&gt;The Waving, WaveCount and Direction are indicators of what is happening during the process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sub VI would also have a delay of 10 mSec. The Angle1 gets translated to pulse width for a servo motor.&lt;/P&gt;
&lt;P&gt;If the VI was to work you could run it and watch the count and Angle1 change until the WaveCount has been completed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 13:43:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4405036#M2142</guid>
      <dc:creator>mohawkcollege-john</dc:creator>
      <dc:date>2024-10-24T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Math script to MatLab conversion</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4405450#M2143</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/408086"&gt;@mohawkcollege-john&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I tried the program and it did not work.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There are billions of ways the term&amp;nbsp; "does not work" can be interpreted.&lt;/P&gt;
&lt;P&gt;Since we cannot see what you did, three is no way to tell.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 21:59:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/Math-script-to-MatLab-conversion/m-p/4405450#M2143</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2024-10-25T21:59:12Z</dc:date>
    </item>
  </channel>
</rss>

