LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table

How to remove vertical lines for a single row.In my application am facing this problem . Suppose any line starts from * it should occupie entire row.Am reading this line from file.Suppose this is 5th line in a file . It should occupie entire row.
0 Kudos
Message 1 of 12
(4,367 Views)
Could you repeat that?? 😮
 
If it is too hard to describe with words, maybe you can attach a picture. 🙂
 
(Are you talking about a multiline text string or a 2D array? What is *? Do you want to pad lines for a certain lenght? What are you trying to remove from what?)
Message 2 of 12
(4,351 Views)
I think what he is looking for is how to "merge cells" in a table ala Excel.  He has a long line that should take up an entire row on the table and not one cell.

Assuming that's the case, LV doesn't support it with their table.


Message 3 of 12
(4,349 Views)


@Matthew Kelton wrote:
Assuming that's the case, LV doesn't support it with their table.

Why not? A table in LabVIEW is just a 2D array of strings with some trimmings. Nothing prevents you to place your entire line in the first cell column or chop it up as desired and spread it over multiple cells. should almost look OK if you split at word boundaries.

Maybe I don't quite understand the point.

Message Edited by altenbach on 09-18-2007 02:12 PM

0 Kudos
Message 4 of 12
(4,340 Views)
His original question was whether or not he could get rid of the grid lines for one row, which is similar to the Excel merge cells function.  I stated that LV couldn't do it, which is correct.

He can certainly put the line in 1 cell which you see in the first row of my attached pics, and you can't see it all.  You can break it up as you suggest.  I did that in the second section in both pics.  In the one where you want the table columns small and the same width, then the string gets nasty looking.  To get the string to break nicely, you still get odd looking spacing in the string and will have non-uniform spacing in your data cells.

What he wants is what I put in the thrid section, which I accomplished by laying a string over top the cells of the table.  Works fine as long as you don't need to scroll.
Download All
Message 5 of 12
(4,334 Views)
Thanks for your reply ,i will do it thank you.
0 Kudos
Message 6 of 12
(4,267 Views)
Then how to do it.Right now am displaying in a first cell.Problem is user needs it in entire row.Then what to do give me the solution i will send the VI.
0 Kudos
Message 7 of 12
(4,265 Views)
Thanks for ur reply.I will send you my VI.Then you  tell me the solution . Thank you.
0 Kudos
Message 8 of 12
(4,258 Views)
Thank you Mathew..
            
Yes i want the same thing what you have done in third section.But in my application i have to scroll .....
0 Kudos
Message 9 of 12
(4,216 Views)

Hi seeni,

Thanks for contacting National Instruments.  Like stated previously, being able to scroll will definitely make your issue a little harder, but there may be a very crude way of doing what you are looking for.  If it was absolutely necessary, you may be able to superimpose the text that you want onto the front panel by treating it like a picture that you can set the X and Y coordinates for.  This way, the picture will have the same position on the front panel, but is not actually a part of the table, which may not be exactly what you are looking for.  Also, you may want to try and make additional copies of the text for the table so when you scroll, you will be able to see those copies.  I hope some of these ideas help, but it is a little difficult with the scrolling text in a LabVIEW table. Thanks!

Noah R.

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 10 of 12
(4,173 Views)