cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Cell displacement when editing a table

¡Resuelto!
Ir a solución

If I insert a table in my front panel from LV controls panel - Silver, and I try to edit some cells, for some reason, editing cell smoothly displaces to the left. After I click enter, cell returns to its original position with new value I edited. It only happens in some specific cells, specially if cell is in center column of table. Other cells do not have this displacement when I enter a new value.

I do not run any VI, it is only when I am creating a new front panel.

I have Labview 2017

Does anyone know why?

 

0 kudos
Mensaje 1 de 17
4.313 Vistas

Well, I'd have to guess that somehow you set it up that way.  Can you attach a VI (not a picture, but an actual VI!) with a Front Panel having a Table that behaves in the strange way you describe?  There probably is a (hidden) reason that we might be able to figure out and explain ...

 

Bob Schor

0 kudos
Mensaje 2 de 17
4.268 Vistas

Thank you for your support.

I think a video can show problem. I could not upload here but I have a link of video:

 

https://youtu.be/0vsHkz8KhQY

 

VI is not running. If I delete all code and just let that specific control, behavior in the same.

I remember that I justified some cells in that control and resized some columns.

Since I copied paste same control several times, I have same issue in all of them in my program. I can replace them one by one for a new one but I would like to know what is the problem.

 

Regards

 

0 kudos
Mensaje 3 de 17
4.253 Vistas

@EDGAR_PLATRONICS wrote:

 

I remember that I justified some cells in that control and resized some columns.


I am guessing (based on your video, but unable to confirm since I don't have the VI to inspect) that when you "justified some cells", you "mis-justified" the middle column so that "your code is doing what you told it to do, not what you want it to do".  Find where you told it the "wrong thing" and fix it.  If you can't find it, post your code (attach your VI) and we'll help you look.

 

Bob Schor

0 kudos
Mensaje 4 de 17
4.244 Vistas

Here you have Vi sample. It is in LV 2017

If justify in center cells are left, I would think normal operation is no cell displacement like other cells.

If I copy paste same control, that problem disappears.

Regards

0 kudos
Mensaje 5 de 17
4.240 Vistas

I'm not even at a PC 

 

Newline.  Show escapes in your table. 

 

See BS Easy.   


"Should be" isn't "Is" -Jay
0 kudos
Mensaje 6 de 17
4.233 Vistas

@JÞB wrote:

I'm not even at a PC 

 

Newline.  Show escapes in your table. 

 

See BS Easy.   


I cannot decrypt your post, so others might have problems too. 😮

0 kudos
Mensaje 7 de 17
4.225 Vistas

Actually I tried to build the same VI into another PC with LV2013

I used a Silver Table into a Silver Cluster. No code, only controls. No need to run VI.

I justified whole Table center and adjusted column size to have only 3 colums

I did it 2 times and I had same issue in one of them

 

 

0 kudos
Mensaje 8 de 17
4.220 Vistas
Solución
Aceptado por EDGAR_PLATRONICS

Yes, I see the same problem in LabVIEW 2018, but only if the table is inside the cluster.

 

The size of the offset can be changed by moving the cluster to a different offset from the left cluster boundary.

I would call this a bug*. (From some casual tests, seemingly specific to silver controls)

(I guess it calculates some positions from the left cluster border instead of the table border.)

 

*I made an entry in the monthly bug thread.

Mensaje 9 de 17
4.216 Vistas

Thank you

0 kudos
Mensaje 10 de 17
4.209 Vistas