Regardless of sample rate/block settings, is there a way to watch a trigger and upon the event, simply grab the first sample and throw away the rest until the next detected event?
More info: I'm watching 11 analog inputs. Input 1 is a TTL pulse which occurs every 20 seconds. Up on that trigger I want to grab 1 single sample from the other 10 inputs, write it to a text file, and ignore all other data until the next trigger event.
I have a template somewhat working using the Action module, which closes/opens a Relay module when it detects a TTL high/low event. The problem is I can't seem to get the rates setup properly, so I occationly will get multiple sample readings recorded - which really complicates this particular experiment. Rather than futzing with the sampling rate and whatnot, I'm wondering if there is a way to to the data reduction regadless of what the settings are.
Thanks for any help you can provide,
Matt Knipschield