LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate output value with Custom Scale

Solved!
Go to solution

Hello,

 

I have defined some custom scale in MAX.

I just want to calculate the output value of an input value applied with these scale.

 

Process is simple : 

 

X =>    Custom Scale  => Output Value

in            Process               out

 

Is there a way to do it simply (recall : custom scale can be linear, polygon, table etc ...) ?

0 Kudos
Message 1 of 4
(3,295 Views)

Hello Educhene1,

 

You can use easily with labview your scale created previously in Max.

You just have to drag your scale into a labview VI (diagram). Next to it, you can create a property node, select the "activescale" as a standart and create just below one intput in writing and one output (reading).

 

I'm adding you this link ( http://www.ni.com/example/26625/en/) which just describe what you are looking for, just in case.

 

Best regards.

 

P.Denis

 

0 Kudos
Message 2 of 4
(3,251 Views)

Well, in fact, now I have no scale defined in MAX.

I have a table with X and Y values like :

 

X                Y

1,0             2,0

2,0             4,0

5,0             6,0

 

and I want to know the Y value of the X value 3,0 for example (using this table scale).

 

Do you know how to do it simply ?

0 Kudos
Message 3 of 4
(3,154 Views)
Solution
Accepted by educhene1
Looks like you might need to check interpolation
http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/interpolate_1d/
Thanks
uday
Message 4 of 4
(3,124 Views)