leen Posted February 7, 2020 Report Share Posted February 7, 2020 Hi, I read in an input. Every second the value of the input ( 0 or 1) stored in an array. After 1 minute I have 60 values into the array list. Then I want to calculate the average value of all values to know how many times the input is high into 1 minute. But there is no function to get direct the result, only i.e. to get the minimum or maximum value. To calculate on a way by 1 to 1 it's very long-winded. Is there a function what I can use or a simply way to fixe this. Best regards Leen Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 7, 2020 MVP 2023 Report Share Posted February 7, 2020 Just use the INCrement function to count them into an MI. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now