LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the number of items displayed on the screen based on user input

I need to place a number of input clusters on the user's screen based on the number of input types he will have.  Is there an easy way to do this?  (Say I have 3 different electrodes, I want to be able to add information for each then take this information and add it to a database, this case adding three new record sets to the database.  If I only have one electrode though, I only want one cluster on the screen and only one recordset will be added to the database)

Message Edited by Vitamin on 01-11-2007 12:36 PM

0 Kudos
Message 1 of 17
(5,351 Views)
Put the cluster in an array container and selet how many array elements to show using a property node.
 
Do the saving in a loop, autoindexed by the array of clusters, for example.

Message Edited by altenbach on 01-11-2007 10:55 AM

Message 2 of 17
(5,341 Views)

Place your clusters in a 1D array and create a property node for the array. You can use the Number of Rows property to control how many elements are shown. Wire the array into a for loop to index it.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 3 of 17
(5,339 Views)

Christian wrote

"

Put the cluster in an array container and selet how many array elements to show using a property node.
 
Do the saving in a loop, autoindexed by the array of clusters, for example.

"

And at the same time tst was writing

"

Place your clusters in a 1D array and create a property node for the array. You can use the Number of Rows property to control how many elements are shown. Wire the array into a for loop to index it.

"

You guys are freaking me out! Smiley Tongue

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 17
(5,332 Views)

Well, what would you write?

Anyway, note how Alten only wrote that simplistic answer and how I also took the time to do some research and add all kinds of links. Smiley Very Happy


___________________
Try to take over the world!
Message 5 of 17
(5,325 Views)


@tst wrote:
... I also took the time to do some research and add all kinds of links.

Really? I thought that stuff was part of your signature. 😮
 
(One of these days, we're going to give the same wrong advice at the same time... ;))
Message 6 of 17
(5,319 Views)