LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

real time cumulative analysis

I am acquiring frequency data from a QCM and I need to process it in real time in order to display the change in mass on a chart. After subtraction of first two freq.s, i have to display the mass and subtract second and third frequency and so on.. I have written a rough algorithm please correct it or give suggestions

 

0 Kudos
Message 1 of 5
(2,678 Views)

this is my algorithm

0 Kudos
Message 2 of 5
(2,675 Views)

I've made some more changes.

now, the first deleted element from the array will not be used again.

 

I have used the array approach. could i use any other way to get the required result?

 

 

0 Kudos
Message 3 of 5
(2,658 Views)

I don't see an algorithm, just a partial view of a messy block diagram with overlapping wires going in all directions. You are building and then chopping down arrays like a lumberjack with no obvious rhyme or reason. The "formula" is hidden inside an express VI.

 

If you really want help:

 

  1. explain what the "approach" is supposed to do. Your explanation so for is insufficient.
  2. attach the actual VI

 

 

0 Kudos
Message 4 of 5
(2,629 Views)

Okay, i'm getting frequencies from 'read response'.

I've got a formula which says f1-f2=const*dm

and i have to plot this dm

so first i have to calculate f1-f2

then f2-f3, f3-f4 and so on

and i need to plot change in mass (dm) in real time

 

so i'm building an array from the data first, then taking the first and the second element out, subtracting them and

I'm stuck there I dont know how to put a loop or what to do to get the next value

 

Ive attached the VI.

 

0 Kudos
Message 5 of 5
(2,622 Views)