Good Afternoon,
When you are aquiring the data you keep a bit of it in a buffer that is a little longer than the period you are interested in (an array that as you update by adding to the end you drop the first element off the beginning). Then when you get your trigger event you just start evaluating the data that is in the buffer. Each element of the array represents a slice of time, based on you DAQ sampling rate, so you can go back however much you like (within the limits of your buffer size).
If this isn't entirely clear I blaim it on "late Friday afternoon"
Putnam Monroe
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5
LabVIEW Champion