From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-24-2014 06:31 PM
I have been trying and trying with no success.
I do store the values in a 2D array. The problem is that I have to display each value as I get it. I cannot wait to get an entire row/column. Using the active cell property in a property node there is no problem changing the color of each cell as I get the corresponding numeric value (refer to the code provided by Altenbach). The problem is that without the ability to specify an active cell and write a number in it I cannot do the same with the numeric values.
How can it be done?
06-24-2014 06:41 PM
Why don't you show us a simplified version of your code?
06-25-2014 10:26 AM
Here is the simplest version of the code.
Thank you in advance for your input.
06-25-2014 10:48 AM - edited 06-25-2014 11:12 AM
You need to use "replace array subset", not "insert into array". See attached modification.
(Of course if you only want to fill the 2D array once, even the outer loop should be a FOR loop.)
06-25-2014 10:51 AM
If you keep the table value in a shift register, you just need to use the Replace Array Subset to update it.
06-25-2014 05:18 PM - edited 06-25-2014 05:26 PM
Altenbach,
It is amazing how simple, easy and elegant your solution is.
Thank you very much!!!