LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrap 1D Array of Classes

Hey All! I'm building a temperature monitor for a system with a chamber class that has values of temperature, time, and on/off status. I have a few questions in regards to the best way to proceed.

 

While the number of chambers will be predefined at runtime (n=15), the size of the display (and aspect ratio) that the user sees the data on can vary from an overhead projector to a small laptop. Is there a good way to create a grid that can dynamically adjust to make sure all n classes are displayed?

 

0 Kudos
Message 1 of 2
(2,193 Views)

If you put the information into a 2D array of clusters as a control on the front panel, you can use a "Pane size" event to detect whenever the front panel resizes and then create a property node for the array that sets the "Number of Rows" and "Number of Columns" properties to an appropriate size for whatever the pane dimensions are.  Don't forget to make both scrollbars on the array enabled to allow it to move around easily.

0 Kudos
Message 2 of 2
(2,151 Views)