01-03-2012 06:00 AM
Hi Redney,
it's not clear what you're referring to with "this is the best solution"...
"How do I get the array in t-1"
Well, you made that example with "array in t" and "array in t-1". So I suspect you already have those two arrays. Otherwise use a shift register (or a feedback node)...
01-03-2012 06:59 AM
Thank you for your help. I meant the best solution as I show below. Just do not know how to get the array at t-1.
01-03-2012 07:33 AM
How I can get the array at t-1
01-03-2012 09:52 AM
Please help me. I don´t find a solution to mi problem yet.
01-03-2012 10:39 AM - edited 01-03-2012 10:43 AM
Attached is some code which will create the arrays I think you want. Note the shift register is used to retain the previous new data for the next step through the FOR loop. 5 second wait between iterations to look at array elements.
01-03-2012 11:30 AM
Let me explain in detail, is that I need a lot of the solution to this problem. I have an array of sensors, consisting of 4 row and 25 columns. I need the maximum and minimum value measured by each sensor at a time delta t. I'm working with Labview 2011. The array with the need to work is wavelength data, you can see in the attachment image . Also sent them the vi for review.
01-03-2012 11:32 AM
Now send the picture.
01-03-2012 12:44 PM
I rewrote it based on what I think you are looking for. Connect this VI to WavelengthData and the outputs should be the array of Maximum Values and Minimum Values over time. Internal feedback nodes keep the latest copy of the Max and Min arrays for the next time the VI is called. If this isn't what you need, then you need to explain it a little better.
01-03-2012 12:54 PM
"I have an array of sensors, consisting of 4 row and 25 columns"
So you have 100 physical sensors, each with their own waveform of data?
01-04-2012 03:12 AM
Yes i have 100 sensor, each with your own waveform.