LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic data

Is it possible to check a numeric control while typing... i mean dynamic checking. I have a table and I want to check whether the (1,1) element is greater than 10 while i type. Now at the moment it is possible only after you enter a a value and click in another cell.

thanks

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 6
(2,801 Views)

Hi Nghtcrwlr,

 

   String control has the 'update while typing' option.I don't think its readily available for Table control

0 Kudos
Message 2 of 6
(2,788 Views)

Hi Nightcrwlr,

 

you could start with an event structure to check "key press" events for your table...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(2,783 Views)

Hi Nightcrwlr,

 

  I have made something in the line with Gerdw's suggessiton.

 

The values from table gets updated only when there is change in Keyfocus. I have used a dummy control to shift focus after every key press.

 

You can make changes  as per your requirement.

 

 

0 Kudos
Message 4 of 6
(2,772 Views)

Thanks Frabto...Your draft version is a good example.. The only problem is that you cant type a 2 or 3 digit number. It always blinks in the 1 digit.

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 6
(2,740 Views)

I came across this post while looking for something similar to the "update value while typing" that strings possess, but for numerics. This helped me solve the issue, with some modifications that might be useful to others. Here's my solution which could help fix the issues others are seeing.

 

-Jody

0 Kudos
Message 6 of 6
(2,696 Views)