07-18-2012 12:24 PM
hello all,
I'm using LabVIEW for data acquisition of an analog signal.My sampling frequency is KHz. Now if I've to process these data's in formula node what type of variable I need to define in formula node.?
For example,if I want to add add all the magnitudes of the samples and store the sum after each sample squired.How do I write the formula node?
I'm an amateur in labVIEW. amateur guide.
Thanks in advance.
07-18-2012 12:42 PM
For simple algorithms such as that it is probably easier to program and may execute faster if you use the native LV functions such as Add Array Elements and Square in the Numeric palette. Most of the Numeric funcitons will work with arrays and many will work with waveforms. This is called polymorphism. The formula node is rarely the first choice.
Lynn
07-18-2012 01:29 PM
@pramodantony wrote:
Now if I've to process these data's in formula node what type of variable I need to define in formula node.?
Who forces you to use the formula node? You simply need to process the data, the means should be irrelevant.
Acquired data in LabVIEW can be of many forms (arrays, waveforms, dynamic data, etc.). Can you show us what you have?