LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Suggest Suitable Controls

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

 

 

 

 

0 Kudos
Message 1 of 6
(3,034 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 6
(3,029 Views)

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 ???

 

 

 

 

0 Kudos
Message 3 of 6
(3,015 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(3,011 Views)

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...

 

 

0 Kudos
Message 5 of 6
(2,994 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(2,989 Views)