05-28-2025 08:39 AM
I'm building an auditory oddball task in LabVIEW 2012 using a single DAQ Assistant (continuous sampling) that splits into two analog channels: one for tone detection (via microphone) and one for finger movement detection (via fiber optic sensor). I detect a tone when the max - min the waveform exceeds a threshold, log the onset time using tick count, and then enter a sub-loop to wait for a finger response. Inside that loop, I use the same detection logic for the finger channel to either log the reaction time or write “NA” if no response occurs. The tone loop itself was logging correctly by itself, but once i added the finger response part, everything stops after the first tone is detected. I suspect the problem is with my loop structure or how the DAQ resource is being handled. How should I structure the loops or handle the DAQ task to allow tone + response detection to continue across multiple trials without stopping I'm new to labview and i only have access to the 2012 version, appreciate any help and advice!!!! File is attached.
05-28-2025 08:48 AM
@agnesgao wrote:
I suspect the problem is with my loop structure or how the DAQ resource is being handled..
I suspect a questionable architecture too, but unless you show what you are doing, we cannot really offer a targeted solution.
@agnesgao wrote:
File is attached.
Unfortunately, you did not attach anything. Please try again.