Finding Max and Min of Data Over a Given Time Span Without Arrays

Updated May 3, 2018

Reported In


  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Issue Details

I am reading in analog data, and I want to get the minimum and maximum value over a specified interval of time without using arrays.


You must use the "Get Date/Time in Seconds" VI to keep track of the time in seconds during each time interval. In order to avoid using arrays, you can use comparison functions to find a minimum and maximum as well as shift registers to keep track of the highest and lowest values read in during the time interval. Below is a sample code snippit that accomplishes this task.


Not Helpful