LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update Table While Typing?

I have a table control that I would like to be able to set to "update while typing", just like a string control.  Is there a way to do that?
0 Kudos
Message 1 of 12
(5,378 Views)

Brian,

I use table controls and thy by defaults update while typing.  Are you seeing something different?  The cells are a bit funky because you click one on a cell then it enters edit mode.  Seems you would want this to be a double click action.

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 2 of 12
(5,367 Views)
No, I can't get the values to update while typing.  I have to hit "Enter", or click somewhere else for them to take.
Message 3 of 12
(5,360 Views)
Brian,
 
My bad.  I guess I didn't understand the original question.  Checked everything I could find and see nothing that will do the trick.  Seems to be buried in the control and is not setable.  Options are limited if you need this functionality.  Check LV 8.20 to see if any help there.  Other option is ugly but will have to use someone elses ActiveX table control.  I would fling it to support for the final answer.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 12
(5,355 Views)

Brian

This is a bit of a guess which I hope will give you an idea. It sounds like you want to work in the data entered into a table cell as its happening. So, could you use the Key Down filter event?

I have attached an example in LV8 that restricts the data entered into a cell to digits only (0 to 9). I have added some scancode support for other keys like Del, Delete, Enter and so on. Also specific cells could have different processing using the Edit Position property.

Hope this helps

David

Message 5 of 12
(5,332 Views)
A nifty little trick by traping each character.  I guess I didn't try hard enough to find a solution.  Goes to show the flexibility of the LV environment making it do things it was not intended to do.  You get an A on this solution.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 6 of 12
(5,297 Views)

David-

For some reason, I can't open the attachment.  I just get a bunch of text and control characters.

Message 7 of 12
(5,286 Views)
Brian, save the link, then open it.

I get the same as you by just clicking it, but it works once you've saved the link to your HD
Message 8 of 12
(5,284 Views)
I get the same problem that way also.  Any other thoughts?
Message 9 of 12
(5,280 Views)
Hmmm, I've reposted in 7.1...  not sure what difference that might make, but try it out I guess?
Message 10 of 12
(5,278 Views)