LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

real time processing in formula node

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.

 

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

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

Message 2 of 3
(2,925 Views)

@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?

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