05-01-2014 04:59 PM
05-01-2014 05:42 PM
I used the example that Luissg posted first and then Dennis mentioned above and was able to make it work. It takes 10 samples when the case structure turns (True) which ideally I would like it to only take one sample if that is adjustable somehow. I appreciate the help I’m getting closer to my goal. I made the mistake of hitting the continues run button with the “Excel – Write table VI” that NetoNI posted and ended up with 100+ Excel spread sheets opening in a matter of seconds. It was a very good example once I got all the widows closed and only ran it once. Thanks again everyone.
05-02-2014 06:19 AM
Hi cdteo,
Make sure to set your acquisition timing and/or sample rate accordingly to your application needs using "the The DAQmx Timing VI (Sample Clock)" and the "DAQmx Read VI ". For more information on this topic, make reference to the following link :
DAQmx Timing and Sample Rate:
http://digital.ni.com/public.nsf/allkb/3E3D74E26B8A5B83862575CA0053E4B5