LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array Control Size

I have an array of clusters and I am trying to limit the size of the array elements that are displayed to the user to edit (see attached jpg). My app allows the user to edit the properties of a finite number of numerical displays through this array, but the number of elements may change. I could use the number of rows/columns property and hide the index, but I lack front panel space to do so (array size may exceed 20). I was hoping to create a customized control that would show five rows at a time and add a vertical slider to navigate the rest of the way (something like a table that accepts clusters), but my LabVIEW skills are not at that level yet.
 
Any ideas are appreciated.
 
N-
 
Insert an Image
0 Kudos
Message 1 of 7
(3,342 Views)
Something was wrong with the attachment. Here it goes again.
0 Kudos
Message 2 of 7
(3,326 Views)

I don't think that you can do this with a custom control prior to LabVIEW version 8 and it is now my understanding that in version 8 you don't need to do it because it supports scroll bars for arrays. It can be done however using code within the VI. Attached is a LabVIEW 7.1 example.
 

Message Edited by Warren Massey on 02-11-2006 05:50 AM

Message 3 of 7
(3,319 Views)
It can be done in earlier versions by customizing the array control and replacing the index control with a slide, but it doesn't always work perfectly in regard to the control's size (although 1D arrays are usually not a problem). Have a look here for some more details.
 
BTW, one way to save on space is to hide the element names and display them on top of the array. This also makes it easier to the users (at least to me). Search the site for a Greg McKaskle presentation called "The good, the bad and the ugly" for some more on this. It also had a sequel.

___________________
Try to take over the world!
Message 4 of 7
(3,310 Views)
This is great! Thanks.
0 Kudos
Message 5 of 7
(3,304 Views)
Alternatively, you could use a separate ring. Makes it easy to select the right array window for display. See attached example (LabVIEW 7.0). 😄
 
0 Kudos
Message 6 of 7
(3,300 Views)
0 Kudos
Message 7 of 7
(3,297 Views)