Hi everyone. I'm a LabView Newbie and am writing a simple routine to read analog input from a PC-1200 board using the AI Acquire Waveform VI. However, I find that I cannot take the mean of my acquired waveform using the Mean VI. Has anyone encountered this problem. Any possible solutions? Thanks in advance and I'm happy to clarify any issues. --Kay
I'm assuming that you're using LabVIEW 6.x. In that case, AI Acquire Waveform returns a waveform datatype. To get the 1D array that Mean.vi expects, use a Get Waveform Components function on the output of AI Acquire and select Y (the data values of the waveform). This will give you the 1D array you need.
Thanks for your response Dennis, I am using Labview 5.01 not 6...do you know how I can do this in labview 5? Also, I also have the reverse problem i.e. need to obtain waveform as input for the ac-dc estimator VI from a 2-D array. Thanks for your help so far.