Hi
Has anyone here try´d to explore the picture control sub VI´s?
I took a look inside these sub VI´s, and I found that they work by
concatenating the data contained on a cluster that has the parameters that
we wire on outside,plus an opcode, etc, with the picture line.
Now, one thing that has been keeping me busy for a while, is to find a way
to draw several identical features, rectangles for example, with diferent
colors and line types, at the same time on a picture indicator, without having to wire
one DRAW RECT control for every rectangle that I want to show and manipulate
on my picture.
So, I´ve been wondering about a way to start with an array of clusters containing
the parameters for each rectangle on each cluster, and then convert all this
information into one big cluster, organized in the right way, and send it to a picture
indicator using the TYPE CAST and CONCATENATE STRINGS controls, the same way the sub VI´s
do for just one rectangle.
This way, one just needs to increase elements in the array in order to create
more rectangles.
And by manipulating any values on the array, the corresponding rectangles would change accordingly.
Is this just an impracticable ideia, or can anyone see any good future on my words?