12-30-2008 11:14 AM
bassinbc wrote:Thanks tinnitus,
Instead of using the constant of 4, I put an array size on the data and wired to the N terminal of the for Loop.
That is no different than auto-indexing, which is what you were doing in the first place. You still have not clearly indicated the dimensions of your arrays. The filter array seems to be fixed at 8 elements. What is the size of your 2D array?
12-30-2008 11:32 AM
hello,
Yes , you can put back array of cluster with autoindexing, i remove it at begining to be sure
of what i were doing...
12-30-2008 12:01 PM
The filter array can be up to foour elements. I let the user select up to 4 global channels and start a task. The size can be 1 to 4 elements. The DAQmx read creates a 2d array of waveform with the size depending on the task. I selected the 2d waveform because I couldn't get the chart timing correct using 1d data. Anyway, I seem to get some interaction between channels. Yes the auto-indexing works, I just wasn't sure if this was causing the interaction. The program is a script chart recorder. This is a sample I did and isn't the actual program. It works the same and I am getting the same results.
12-30-2008 03:51 PM
I believe this is working now. In the filter subVI there is a setting for init/cont. I must have set the default to true. I have changed it to false and will have to play around with it some more but it appears to have corrected the problem with the interaction. Not sure why.
Thanks all who helped.
12-30-2008 04:55 PM
Yes ,
that can explain because it initialises filter with value of last call, so if
you use bessel (for example) with channel a then c, then d it starts with init values of last used....
a filters expert to confirm ?
enjoy you finally solved
@+
Tinnitus