LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

repack values or portion of values

Hi Jeff

 

I do something near but I need the statistics at the end not in time

At each 10cm calculates in the data stored in the array de values

0 Kudos
Message 11 of 14
(970 Views)

simple enough

Capture.PNG

 

You probably should wire "Sample Length" to Quotient and Remainder Smiley Wink


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 14
(954 Views)

Hi Jeff

 

 

Nest week I will experiment in really conditions, seems this code will be what I want.

Very very thank you.

 

 

Best regards

cp

0 Kudos
Message 13 of 14
(944 Views)

Hi Jeff

 

 

After some upgrades in software I need your help again

 

You can see the explanation in front panel

 

But the laser reads from 0 to 10 cm.

 

For calculations I need the max value from 0-5cm, the max value from 6-10cm and the average from 0-10cm.

 

The code almost works, the probelm is that it calculates each 5 cm, and I need only each 10cm, I need to keep the max 0-5cm for the end calculations at 10cm

 

 

Formula = (max0-5cm + max6-10cm)/2 - average10cm

 

Hoppe you understand

 

best regards

cp

0 Kudos
Message 14 of 14
(915 Views)