08-29-2014 04:48 AM
Hi,
I am using a formula node and the IF Command to generate an output based on User Input. I have posted a couple of screenshots of the simplified version of my VI. Every time I get the last value. What am I doing wrong?
Solved! Go to Solution.
08-29-2014 04:55 AM - edited 08-29-2014 04:57 AM
Hi rkamat,
don't use a formula node here…
- When your x value is always an integer you could use an array constant holding your Y values and use x to index the array…
- When your x value isn't an integer you could use the function Interpolate1DArray instead of IndexArray!
You also made a typo in your formula node. I'm sure the formula node doesn't like a comma as decimal separator!
08-29-2014 06:02 AM - edited 08-29-2014 06:04 AM
Thanks! It worked. I work on the german version of Labview. Comma is the decimal separator in German
08-29-2014 06:44 AM
08-29-2014 06:56 AM
I just found out how to do it. But I might mess up the remaining model. So lass mal so..:)