04-10-2012 04:22 PM
Bingo- just wrap another loop in there
04-10-2012 04:49 PM
Seems like it worrked now. Thank you very much for the help!:D
I have attached a picture of what I have done, does it seems correct to you as well? I was trying to use the "Build array" together with a "0" constant, but then the resulting array was a appended array of 3D. Also, some of my columns are of different size (different number of elements). However, it doesn't seems like this code is taking that into account.
Greetings
Kristoffer
04-10-2012 04:55 PM
04-10-2012 04:59 PM
I think that the structure works pretty good, i only need to get rid of those extra elements and i consider myself done. Any suggestions to that?
In the dataset column 0 might have 53 elements while column 1 has 52 and column 2 has 54. The code does not seem to care about this, because all columns have the same amount of elements. Any suggestion why this happens?
Greetings
Kristoffer
04-10-2012 05:03 PM
04-10-2012 05:05 PM
@Sjefsgjogleren wrote:
I think that the structure works pretty good, i only need to get rid of those extra elements and i consider myself done. Any suggestions to that?
In the dataset column 0 might have 53 elements while column 1 has 52 and column 2 has 54. The code does not seem to care about this, because all columns have the same amount of elements. Any suggestion why this happens?
Greetings
Kristoffer
LabVIEW forces rectangular arrays. No way around it.
04-10-2012 05:10 PM
So i cant remove those elements later og anything? Because I am not quite sure where the values that it puts inside actually comes from either. I guess that there is just some default values (seems to be 5 and 10). Or maybe I can get the actual length of the column and only use that amount of datapoint for the later calculations?
Greetings
Kristoffer
04-10-2012 05:14 PM
@Sjefsgjogleren wrote:
I have attached a picture of what I have done,
Missing picture.
04-10-2012 05:16 PM
Ooops, forgot!
04-10-2012 05:55 PM
If you simply pull down on the index display of the constant in my last snippet to create a 2D array of timestamp, and make the output a 2D array you are all set.