Hello all,
I am new to LabView and I am trying to cerate a VI that can automate an auditory Stroop test. I am using LabView 2020. Attached you will see my sample VI.
The purpose of this VI is to randomize 4 audio files, and then play them back into a headset. The audio files will be heard, and the user will repeat back the tone that they hear into a microphone. I am trying to record the reaction time between when the audio file is first played, and when the response of the user is heard.
Right now I am having difficulty implementing this. I have a VI that can randomize the audio files, and play them back. My issue lies in recording the reaction time. I was thinking I could create some sort of logic that would record when the waveform data exceeds a certain value, and then return the time that had elapsed since I started the VI.
I am sorry if my code is super ugly, this is actually one of the first attempts I have ever made in LabView.
Thank you in advance, I hope the description is sufficient for what I am trying to do.
Pat