I will be doing some structural tests and measuring loads, displacements and strains. I am using 22 channels and by the vi that I have created I am able to get reading. I am using the AI Config vi and then the Scan vi, uncouple the array and get 22 seperate readings each time I click the read button. What I want to do is to be able to get 10 samples in one second, average them and store that value into the output file and I just can not figure out how to do this.
In order to get multiple samples, you must delve into the intermediate DAQ tools. AI config will set your buffer size, AI Start will set the triggering and other parameters, AI Read will read your 10 samples, which you can them average, and AI Clear will stop and clean up the DAQ.
Check the DAQ examples, there are plenty of samples that should show you exactly what you need.
Labviewguru wrote in message news:<506500000005000000B3A30000-1031838699000@exchange.ni.com>... > Oguz, > > In order to get multiple samples, you must delve into the intermediate > DAQ tools. AI config will set your buffer size, AI Start will set the > triggering and other parameters, AI Read will read your 10 samples, > which you can them average, and AI Clear will stop and clean up the > DAQ.
Even easier is to use "AI Waveform Scan" or "AI Continuous Scan" from the Analog Input Utilities pallette. No need to get into the separate intermediate stuff. Be sure to wire the loop iteration counter to the vi so that it doesn't have to initialize with each iteration.