VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

peak and valley calculation

For calculated channels, there is the peak and valley type. Can someone please explain to me what the calculation is exactly? I originally thought that it would give me the height of the peaks and the height of the valleys, but it doesn't seem to be doing that.

 

Thanks,

Kevin Key

0 Kudos
Message 1 of 5
(6,850 Views)

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

http://www.ni.com/support

0 Kudos
Message 2 of 5
(6,830 Views)

The signal is a 3.3V PWM signal and I was getting about 1.8 for both the peak and valley.

0 Kudos
Message 3 of 5
(6,826 Views)

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

http://www.ni.com/support

0 Kudos
Message 4 of 5
(6,809 Views)

y and z are just random user channels I created and x is the PWM signal. The PWM signal is a DAQ AI voltage.

0 Kudos
Message 5 of 5
(6,802 Views)