LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Increase the number of string boxes?

I have attached a VI in which the number of string boxes in "No:, Questions , Ok/not Ok, Remarks " are eight.

Can any one help me by changing the number of String/ Numeric boxes from 8 to 50 in all the items?

I am very new to labview and i got this VI from a friend.

Thanks in advance
Sunitha
0 Kudos
Message 1 of 8
(3,447 Views)
So you want other to do the work for you instead of do it on your own and learn?
 
Well - I don't modify your vi, I just tell you how you could easily do it. Select two rows of the four elements, press the ctrl key, keep it pressed and drag the mouse. You will have two additional rows. I now should be ten rows. Mark all of them and repeat this procedure until you have fifty rows on your vi.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 8
(3,440 Views)
I tried the way you said but there is no connections in the block diagram and the new string boxes lay scattered all over the block diagram.

I asked to do becoz i am not sure how to connect the string boxes in the block diagram since i am new to labview.
0 Kudos
Message 3 of 8
(3,437 Views)
What do you mean with "i am not sure how to connect the string boxes"? Do you not know how to create a wire or where to wire the controls?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 8
(3,434 Views)
While you could follow the copy and past approach that becktho suggested, this would create tons of wires on the block diagram. The VI is poorly written as it is - having item numbers, 50 strings for questions, 50 booleans, and another 50 strings for remarks would make it a contender for worst diagram ever. Given that you're new to LabVIEW this is not something you want to tackle as your first task. You're going to need to learn how to do LabVIEW programming, and given that you don't know how to wire up controls, you've definitely got a lot of learning to do, and suggestions that are given to you in this thread will, frankly, be of little use to you. If you need this done right away your best be is to find someone capable in LabVIEW programming to basically rewrite the VI to use arrays. Otherwise, pop open the LabVIEW tutorial, read a few books, and learn some LabVIEW programming before you try to tackle this task.
0 Kudos
Message 5 of 8
(3,412 Views)
 

I think you will find it much easier if you had an array of clusters.   The array can be sized however big you need it.  On the block diagram, use a for loop to index through the array a perform whatever actions you want on it.  You may also look at event structures to control the read and write. 

Look through the help files.  They are very complete and the examples offer some good ideas.

 

Message Edited by jasonhill on 07-06-2006 10:40 AM

0 Kudos
Message 6 of 8
(3,402 Views)
Can any one help me with a sample code as 'jasonhill' describes?

Thanks
Sunitha
0 Kudos
Message 7 of 8
(3,377 Views)

Sunitha,

As i say, 'Life does not get easier that LabVIEW'

building that array of clusters Jasonhill has shown is simple, Go ahead give it a shot!

A failure is acceptable, but a failure to put an effort is not!

Read these links to learn LabVIEW

 Three Hour Introduction to LabVIEW
Six Hour Introduction to LabVIEW

Hope this helps

regards

Dev

 

Message Edited by devchander on 07-07-2006 02:23 AM

Message 8 of 8
(3,364 Views)