Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with error in Mathscript Error

16rasmuaut_0-1586089901137.png

I am unsure why I am getting the error at "end." I am thinking maybe I have to exchange it for "endif." I am confused how this error allows "x" to remain an output but does not detect "t" as an output. I tried to learn more about MathScript formatting for help. This was my first time using it. Any critiques are welcome. 

0 Kudos
Message 1 of 2
(4,543 Views)

The problem is with your command "else if". Try to replace it with "elseif".

0 Kudos
Message 2 of 2
(4,021 Views)