LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

minimum serch in every secound

Solved!
Go to solution

Hello!

 

I use DAQ Assistant, and i have an analog input channel. I want to search the minimum value of my signal, in every second. So i want my vi, to write out the minimum value of the last second... (is it understandable?)

So in evrey secound a new value. 

 

How can i do it?

( i use waveform min max.vi (programming->waveform->analog waveform)) 

 

Thanks! 

0 Kudos
Message 1 of 7
(2,717 Views)

Kolos wrote:

...

How can i do it?

( i use waveform min max.vi (programming->waveform->analog waveform)) 

... 


Hi Kolos,

what's wrong with it?

 

Mike

0 Kudos
Message 2 of 7
(2,705 Views)
Solution
Accepted by topic author Kolos

Use the DAQ Assistant as Continous mode with number of sample = Frequency to obtain 1 data block by second.

 

After your DAQ Assistant use the  Express VI Statistics (Available in Signal Analysis) and check Minimum to determine the minimum of your Dynamic data.

0 Kudos
Message 3 of 7
(2,704 Views)

You can select a frequency for acquiring data and from it compare all the samples you have at each second and leave only one.

For example, if you have 1kHz, you have 1000 samples per second. If you set your DAQ buffer for 1000 samples and always get the minimum value of the acquired data (one per loop) you'll have the minimum value for each second.

 

(like J.DECHET said 3 min faster than me Smiley Happy)

Message Edited by Danigno on 07-21-2009 05:59 AM
0 Kudos
Message 4 of 7
(2,699 Views)

If my Rate is 44k Hz, then what will be my Sample? 44k?

 

0 Kudos
Message 5 of 7
(2,693 Views)
yes
0 Kudos
Message 6 of 7
(2,691 Views)
yes 44k
0 Kudos
Message 7 of 7
(2,686 Views)