cancel
Showing results for 
Search instead for 
Did you mean: 

Single sample?

Purechoice
Member

Single sample?

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
1 REPLY 1
CJ_Butler__DASYLab_Pro
NI Employee (retired)

Re: Single sample?

Message contains a hyperlink Message contains an image
Matt,

The same group of people monitor both the NI discussion forums and the DASYLab Forum. We recommend that you post your question in the DASYLab forum. I answered it there.

DASYLab English Web Forum

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.