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
(3,611 Views)

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

0 Kudos
Message 2 of 2
(3,089 Views)