07-06-2012 01:36 PM
You are not listening!
Why do you insist on code that is 6x more complicated by doing all these 1D arrays that you combine later anyway?
Why do you resmooth the existing data over and over. If you do that enought times all you'll see is a flat line and large edge effects. Why???? The filtering does NOT belong inline with the shift regsiter.
In any case, substituting random data (see below) seems to work, so there is probably something wrong with your DAQ configuration. (I don't have DAQ installed).
07-06-2012 01:43 PM
I know I am not collecting data the easy/proper/tradiational/whatever way. However, it was the only way I could get data in the graphs to correspond to the actual voltage inputs. I will continue to troubleshoot the program you made and I will see what I can come up with. Thanks!
Coulton
07-06-2012 01:48 PM
And in the "for what it's worth" category, this is what happens to my program when I put the filter outside of the if structure.
07-06-2012 02:03 PM
@Coulton wrote:
And in the "for what it's worth" category, this is what happens to my program when I put the filter outside of the if structure.
Is there anything that prevents you from doing it the way I showed you? An what prevents you from converting the dynamic data back to a 1D array in your version?
07-06-2012 02:05 PM
I also realized that in my program, the from DDT was listed as a 1D waveform. I changed the program you made, but I still had the same problem. It oscillates uniformly up and down almost like the graphs are getting any signal at all.
07-06-2012 02:06 PM
I only attached my VI because I was able to get it to work. If I could get yours to work I would definitely use it. ![]()
07-06-2012 02:12 PM
And I realize that my data is getting messed up by having the filter inside of the if structure. I am taking small steps to get to where I need to be. Now that I got the filter to work, I need to get it placed properly outside of the if structure.