LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an array as long as wanted?

Hello again!

We missed your last answer! Sorry. We will check it out... wbut where do we see that "Num Rows" ? We have looked. It is in the property node, right? Best regards.
0 Kudos
Message 11 of 22
(1,411 Views)
Hello!

Where can we find the NumRows property? Best regards.
0 Kudos
Message 12 of 22
(1,408 Views)
Hello Ex-jobb,

here comes a 2nd picture to show the "magic" behind the frontpanel...
If you disable/hide the index control of an array, you are free (and also responsible) to set the correct number of elements you want to display. That's what I do in this user interface (and I also adapt the window size to the number of displayed elements).
Please read the chapter on property nodes as I suggested in a different thread.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 22
(1,411 Views)
Yes. The list of properties in the property node is divided by seperators. The bottom group holds the properties relevant to the specific type of control. Since NumRows is only relevant for arrays, this is where it will be found.

___________________
Try to take over the world!
0 Kudos
Message 14 of 22
(1,409 Views)
Hello again 🙂

We do not want to use the multicolumn listbox. We want to use an array of boolean. But in the property node of the boolean array there is no "Num Rows". Must we use the multicolumn listbox ? Is there no way to define the number of rows dynamically in a boolean array? Best regards.
0 Kudos
Message 15 of 22
(1,406 Views)
But we do not find any label with "NumRows" ?? This is strange... the labels at the bottom is LockBooltext. When one drag it out it comes many of these... what are we doing wrong?
0 Kudos
Message 16 of 22
(1,398 Views)
When you create a property node from an array the property should appear as "Number of Rows" in the bottom group.
Which version of LV are you using?

___________________
Try to take over the world!
0 Kudos
Message 17 of 22
(1,395 Views)
Alright 🙂 We will read :-). It would be a lot better if one could read in our own language cause we are not that good in english 😞 but we will try 🙂 Thank you for your help. Best regards.
0 Kudos
Message 18 of 22
(1,339 Views)
Hello tst!

We are using LV 7.1. At the bottom it is a lot of "LockBolText" and above them it is "Strings[4]", "Colors[4]", "BoolText". We can not see any NumRows? We rightclicked on the boolean array in the front panel and then did create property node. That is how to do? What are we doing wrong then...
0 Kudos
Message 19 of 22
(1,391 Views)
The properties you're seeing are the boolean properties. What you've done is to click on one of the booleans instead of the array border. Either create the property node from the array terminal on the block diagram or click on the border of the array when you create the node.

___________________
Try to take over the world!
0 Kudos
Message 20 of 22
(1,380 Views)