LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trending timewaveform max or abs(min)

I was going to use the built in VIs "SVT Vibration Level" or "SVL Peak Level" but they hold the max peak instead of displaying the max/abs(min) from every block. About 5 layers deep in the VI you can see where they hold the max until it is reset.  I can't figure out when it resets itself, but eventually it will. This creates problems when you have overshoot in your signal and it grabs the max and trends it.  Then 5 minutes later it will grap a new max.  I'm trying to replicate what the subVIs do.

 

Right now in my code I'm only trending 1 of 32 peaks, but my To keeps changing to the current time.

 

 

I'll attach my ugly code that I'm messing around with. I'm trying to replicate the part of the "SVT Peak Level" that I'm interested in.

0 Kudos
Message 1 of 2
(2,224 Views)

Hello LabViewer35242,

 

Thanks for the question.

 

I want to clarify something you mentioned:  "I can't figure out when it resets itself, but eventually it will."

Nothing should be reset unless you "tell" the VI to reset via the boolean input to restart averaging.  Please let me know what behavior you're seeing that you are trying to alter.

I'm also curious for a clarification on this statement:  "Then 5 minutes later it will grap a new max."  From what I'm looking at, the only reason the VI should be detecting a new max is if you're overshooting past your orginal overshoot, or if you've specified a True for the Restart Averaging boolean.

 

Additionally, your attachment is missing several subVIs, and I cannot open them on my end.  For further help, I would recommend that you reduce down your code so it is easier for me and others in the community to help you with a specific problem.


Thanks,

 

Lisa

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,209 Views)