LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Easy question - Array indicator and control compatibility

I would like to multiply the contents of an array indicator by a factor (polimorphism allows the multiplication of an array by a number, right?) but the product requires that the array has to be a control.
How can I fixed this problem?. Thank you very much for your help,
javier
0 Kudos
Message 1 of 5
(3,040 Views)
Please see attached file to clarify my question.
Thanks Javier
0 Kudos
Message 2 of 5
(3,040 Views)
I removed the Indicator from the build array - it wasn't necessary. Also, your final array is now 2D. See attached, I believe its what you're asking.
Doug
0 Kudos
Message 3 of 5
(3,040 Views)
Thank you very much for your help. I used your example and added the function Index Array to convert the array to 1D.
Javier
0 Kudos
Message 5 of 5
(3,040 Views)
> I would like to multiply the contents of an array indicator by a
> factor (polimorphism allows the multiplication of an array by a
> number, right?) but the product requires that the array has to be a
> control.
> How can I fixed this problem?. Thank you very much for your help,

Unless you are using LV2, you can use local variables. The
control or indicator determines how it interacts with the
end user. To read from an indicator or to write back to
a control, popup on the object and choose Create Local, or
drop a local variable from the Structures menu and select
the object name.

Greg McKaskle
0 Kudos
Message 4 of 5
(3,040 Views)