You could use a while loop, running during one second. Calculate de sum of all the power inputs, using a shift register, and divide by the loop indes (+1). See the attached vi to find how to program a one second integration period. Remember that software timing is strongly dependent on Windows...
CC
Chilly Charly (aka CC)