07-17-2020 04:02 AM
Dear All,
I would like to open a new topic regarding my problem in LabView.
According to the task I would like to evaluate the saved LSB values which are coming from a wheel speed sensor during a magnetic encoder rotation. I could make the row data import and data visualization in LabView, but I can not collect the local minimum and the local maximum point into arrays.
My plan would be to check the LSB values step by step and when the first local minimum value has found saved into an array and after find the local maximum. This should be done for all periods.
If LabView can collect the local maximum and local minimum values I can subtract from the max the min and I can see the all amplitudes for the all periods.
It would be very good to get some support how can I start this project.
Thanks in advance!
Gábor
07-17-2020 04:20 AM
Hi Gabor,
to build an array from scalar values you should use the BuildArray function.
To store data to be used in the next iteration of a loop you should use shift registers.
Both (BuildArray, shift registers) are very basic LabVIEW elements…
There also is a PeakDetector function available in LabVIEW: have you tried to employ it?
07-17-2020 04:30 AM - edited 07-17-2020 04:55 AM
Hello GerdW,
many thanks for you reply, of course I tried the basic thinks what you proposed, but these are working only theoretically, not in fact.
BuildArray function-> did'n filled up the array
For loop shift register-> did nothing
PeakDetector function -> no information how is it working (I would like to compare all LSB values step by step)
Best would be any exact example, but I will try again on other way.
Best regards,
Gabor
07-17-2020 04:58 AM
Hi Gabor,
@Gabor_37 wrote:BuildArray function-> did'n filled up the array
For loop shift register-> did nothing
For me the combination of BuildArray with a shift register always is able to build an array…