10-09-2009 12:36 AM
Hi all,
I have a 2D array of clusters. The elements of the cluster are 3 different numeric data types.
Now, I want to programmatically blink a single element of the above mentioned 2D array (cluster as whole). Also I want to blink a single element of the cluster residing in the 2D array. Pl suggest me if there is any better way to execute this.
will be great to have your views.
-Sreedhar
10-09-2009 12:55 AM
10-09-2009 01:16 AM
Funny undefined behaviour^^ Initial state undefined; hover with mouse over the control to hightlight arrayelements. Ups
RZM
10-09-2009 10:23 AM
Thanks for your replies. I would like to know weather it would work, if I make it a cluster of clusters ? how will the performance hit ?
Thanks again.
10-09-2009 10:29 AM
Sreedhar T wrote:Thanks for your replies. I would like to know weather it would work, if I make it a cluster of clusters ? how will the performance hit ?
Thanks again.
Yes that will work!
The performance only becomes a factor if you are repeatedly moving data around. No move, no load.
Ben
10-12-2009 12:41 AM
Excellent...
Ben, could you please explain me what is the meaning of "Moving data around. No Move, No Load".
since it is a cluster of some elements, I will dynamically change the data. change the colours at the run time, blink etc. But will not move the cluster.
Regards
10-12-2009 07:35 AM
Sreedhar T wrote:Excellent...
Ben, could you please explain me what is the meaning of "Moving data around. No Move, No Load".
....
Regards
Good question!
I'll try to answer and if others see holes in this apprach, please corect me.
"Moving data" can be spotted by looking for two signs. "Flow" and "Buffers".
FLOW
Flow is the easiest to spot and is what you see when you se the data bubbling along while watching your diagram in execution highlight mode (light bulb on).
BUFFERS
Buffers are more subtle but you can se them whenever you use Tools>>> Pofile >>> Show buffer allocations. LV will work be hind the scenes to schedule your code to accomplish what you want while minimizing the need to duplicate your buffers. So you have to look for the bufers.
So if your code show flow to a buffer the CPU has to do work to accomplish that move.
How devistating will A move be? The actually load from a move dpends on how much data is being moved AND how often.
I'll call that a start and watch for others to offer their insight.
Ben
10-12-2009 07:56 AM