LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write equations in LabView

how to write equations in LabView
The equation is    c=(n1+n2+.....+nm)/m

where  n1= data 1

  m = total data

  data++

 

and   d= (c)^m

where  n1= data 1

  m = total data

  data++

 

 

thanks 🙂

0 Kudos
Message 1 of 4
(7,088 Views)

How does your data look like? Is "n" an array?

 

I assume that the end result is important, even if it's not a "written equation". 😉

 

The math...statistics palette has "mean.vi". The numeric palette has "add array elements" and "division". The array palette has "array size". The math..elementary palette has "power of X".

 

Mix and match. See how far you get. 😄

 

 

0 Kudos
Message 2 of 4
(7,073 Views)

You might want to look at the express formula VI also. Here is a picture of the simple "context help" detailed help reveals how to "raise to the power" 

(** instead of ^) for example.  And all the other calculator like functions built in. Satrt up a blank VI and play with it.

 

Alan

 

 

0 Kudos
Message 3 of 4
(7,051 Views)

All you probably need is something as follows....

 

0 Kudos
Message 4 of 4
(7,035 Views)