01-14-2011 06:33 AM
01-17-2011 01:06 PM
Hi Kevin,
I will look into this further to try and get you a better explanation of actual calculation that is occuring. In the mean time, can you give me some details about what you are currently seeing? What sort of signal are you trying to find the peak and valley for? What are you currently seeing? What kind of channels are mapping the Channel (x), Channel to store valley value (y), and Channel to store offset value (z) parameters to?
Any information you could give me would be helpful. Thanks Kevin!
Aaron P
National Instruments
Applications Engineer
01-17-2011 01:33 PM
01-18-2011 04:04 PM
Hi Kevin,
Can you provide a little more detail please? Hardware setup? What channel is mapped to Channel (x), Channel to store valley value (y), Channel to store offset value (z)?
Aaron P
National Instruments
Applications Engineer
01-19-2011 06:14 AM
08-19-2024 12:48 PM
Hello -
The function reports local minima and maxima of an AC waveform. This graph essentially shows how the function works:
User channel 0 is the input, Calculated channel is the peak-valley function's calculated channel (reporting the peak), and User Channel 1 is reporting the Valley.
In other words, it looks for points where the function changes direction (from increasing to decreasing or vise versa) and reflects the value of the input function at that point on the output corresponding to it's direction.
At the top of the input waveform, the green line updates (after some hysteresis condition is met). Likewise, the yellow line updates when after the configured hysteresis condition is met from the local minima at 159 seconds.