Hi Qimar,
use our examples as subvi. No need to change the array size, the code will handle different sized arrays...
When using my vi:
- delete the dummy data generation at the left side of the vi
- change the "array" indicator to a control
- connect the array in the connector pane to make it an input
- connect the average-indicator(s) to the connector pane to make it/them an output of the subvi
Message Edited by GerdW on
01-14-2008 02:34 PM
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019