I'm working on a Labview VI to find the exact time the maximum value is reached in an EKG signal (R-wave) so that I can use that number to start an offset and remove the part of the signal containing the p-wave of the next signal. Is there a current or similar VI that could be used to accomplish this? Sorry if this is a repeat question, I am relatively new to Labview. Any help will be much appreciated.