LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving cells

Solved!
Go to solution

Hello,

 

I have a probleme with a table.

 

I created a table with columns header but when I want to enter values in cells some cellls are moving from right to left and i don't understand why. It is funny but not very useful! If someone can help me it would be nice!

 Please find attached my VIs with the creation of the table and the table with moving cells.

 

Thanks

 

Jean

Download All
0 Kudos
Message 1 of 6
(4,069 Views)
That is very cool behavior.  I changed the justification of the cells and it works, with either right or left (using LV2009).  For some reason certian cells get justified to the center of the table, not their indivdual cell.
0 Kudos
Message 2 of 6
(4,061 Views)

I cannot replicate the behavior you're talking about. Exactly what do you do? I also don't understand why you have two different VIs. Which one are you referring to? I would consider using a different user interface. Having a table with 1000 columns is not very friendly. 

0 Kudos
Message 3 of 6
(4,050 Views)
Solution
Accepted by Yanndouglas

You don't actually have to run the VI.  Just open 'Moving cells' and type something into column 11.  Then just watch it float away.  Change the justification to Right or Left and the behavior stops.

 

moving cells1.PNG

 

moving cells2.PNG

Message 4 of 6
(4,043 Views)

It's moving to the vertical origin on the front panel, not the center of the table. The control is placed so that it basically overlaps quadrants 3 and 4. If the control is moved so that it's completely in one quadrant then it doesn't seem to do it. It also appears that the behavior only extends up to a certain point. For instance, it doesn't do it for column 14 and beyond. In 8.2 I only saw it occur on the right-hand side.

 

You're right, that's quite weird, but quite amusing. Definitely looks like a LabVIEW bug.

Message 5 of 6
(4,034 Views)

Thank you very much!

I changed the justification to left and the cells are not moving anymore!

 

 

Jean

0 Kudos
Message 6 of 6
(4,010 Views)