05-22-2015 05:23 AM - edited 05-22-2015 05:24 AM
I have been searching the forums for a similar problem but cannot find anything. Apologies if this seems trivial but I am not a LabVIEW specialist and my project encompasses a lot of disciplines so sometimes when I am working on LabVIEW related tasks I need a refresher now and then.
Basically I am trying to modify - not replace - one element in a 2D array. So for example, if I have the 2D array:
A
1 2 3 4
B
1 2 3 4
C
1 2 3 4
I am trying to divide element 3 by 1000.
I suspect that, like so much of LabVIEW, this would be very easy to someone who already knows how to do it...
Solved! Go to Solution.
05-22-2015 05:28 AM
Index out the element you want to modify (using index array), perform the modification, put back at right index using replace array element.
If you are worried about performance, use the in-place element.
http://www.ni.com/white-paper/6211/en/
05-22-2015 05:30 AM
You should go to array pallete, select index array ( you will automaticaly get two index, so you place number of your element. It will outout that number , you will do math, and again, go to array palete, and select inset into array.
And modification is replace. this will give you something like this array[a][b]=array[a][b]/1000;