12-28-2010 10:52 AM
Hello Friends,
For one of my project I have to use a Front Panel Control which displays Channel Name and Acquired Data. The control should able to display twenty Channels details, with Channel Name in First Line with medium Font size and Data in the Second Line with Bigger Font Size
Twenty channels as mentioned above is not fixed... It can be varied run time, aything from 4 Channels to 96 Channels.
Please suggest suitable contol to be used which will satisfy the requirements.
Using LabVIEW Version 7.1
Attaching an example image for reference
Thanks
Vikeei
12-28-2010 10:56 AM
You can use a 2d array with each element being a cluster consisting of a string and a numeric.
Optionally show the vertical scroll-bar.
Fill all non used elements with (not Use" string since the 2d array will force array idmentsions.
Ben
12-28-2010 11:19 AM
Hello Ben,
But LabVIEW 7.1 does not support Vertical Scrollbar in Arrays.
And also I believe that the size of Array element cannot be adjusted ???
12-28-2010 11:23 AM
It was possible in LV 7.1 to customize the array container and replace the index controls with scroll bars, but if you resize the array thise will require more work.
You could use your own scroll bar to set the arry index (that can be hidden).
Ben
12-28-2010 11:54 AM
I think I can go with the concept of 2D Array itself...
But here, normally the data (text) should be displayed in Green Color... If the data is above threshold level, the color of the text should change to Red.
Is this possible using Arrays?
I tried this and noticed that all elements in an array will be of same nature...
12-28-2010 11:59 AM
Since the elements of an array can differ in value only, yes they all change.
So change your cluster by...
Make the background of the string transparent...
Add a color box to the cluster and size postion to act as the backgroun of the string indicator.
Now you mod your code to set the color box color depending on the range...
Ben