LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In LabVIEW6i, is there a way to make particular elements of an array invisible while the others stay visible (without losing any element's info.)?

I have an array of clusters. Each cluster pertains to a certain oscilloscope I am controlling. There is another control which specifies which oscilloscopes I have "on".
If a particular oscilloscope is "on" I want its cluster to be VISIBLE in the array. If a particular oscilloscope is "off" I want its cluster to be INVISIBLE in the array.
How can I implement this in my program without losing ANY of the info. in my array?
0 Kudos
Message 1 of 3
(2,221 Views)
I don't think you can control the visibility of array elements but instead of displaying an array, why not use an indicator that shows a single element of the array. You would have a numerical control that is wired to the Index input of the Index Array function. Its easy then to control the visibility of the indicator.
0 Kudos
Message 2 of 3
(2,221 Views)
I suggest to use two arrays; one for user interface holding the ON clusters,
and one for internal use holding all clusters. The diagram periodically
updates the internal array with user interface array data.

By INVISIBLE do you mean "skipped from the array" or displayed as an empty
placeholder? To hide an OFF cluster you could put in the cluster a flat
button boolean that is small and transparent when ON and large enough to
cover the whole cluster area (and other controls) when OFF.

Jean-Pierre Drolet
Scientech R&D

"mcmastal" a écrit dans le message news:
506500000008000000281F0000-986697009000@quiq.com...
> In LabVIEW6i, is there a way to make particular elements of an array
> invisible while the others stay visible (without losing any element's

> info.)?
>
> I have an array of clusters. Each cluster pertains to a certain
> oscilloscope I am controlling. There is another control which
> specifies which oscilloscopes I have "on".
> If a particular oscilloscope is "on" I want its cluster to be VISIBLE
> in the array. If a particular oscilloscope is "off" I want its
> cluster to be INVISIBLE in the array.
> How can I implement this in my program without losing ANY of the
> info. in my array?


LabVIEW, C'est LabVIEW

0 Kudos
Message 3 of 3
(2,221 Views)