ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse Average

I am programming a vi to monitor the current supply to our plant motors. We have one particular motor which operates intermittently during a production cycle. It draws a high current during application and then idles on a low current until the next application. This generates a sort of pulse trend on my Historical Trend graph (see attached jpeg). I would like to calculate the average of the current only while the motor is above idle current (i.e. whilst motor is active during application).

I see there is an express vi which measures pulse duration and another which measures arithmetic mean, however there is not one that offers the arithmetic mean of a pulse. Are there express vi’s available for this?

Any advice on setting a condition to execute the while loop (which would calculate the running average) would be greatly appreciated.

Best regards,

Stuart Wilson

0 Kudos
Message 1 of 2
(2,639 Views)
Please refer to the duplicated forum post below
 
Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 2 of 2
(2,601 Views)