LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

If statement in mathscipt seems to never go into the if statement and I can't figure out why.

nagol333_0-1582783872014.png

Attached is a picture of part of my block diagram. I confirmed that is never going the if statement with a breakpoint and that seems illogical. There is definitely a point where that if statement is satisfied. 

0 Kudos
Message 1 of 2
(3,403 Views)

Showing us a picture with highly truncated mathscript code is not useful. Attach the VI instead.

 

You are comparing an array containing many different values (0..799) to a scalar. What outcome are you actually expecting?

 

(It is not clear why you even use mathscript for whatever you are trying to do here.)

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