LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric Control does not generate Value Changed Event on Return

Hi all,
 
I seem to have changed something on my LabVeiw 8.5.1 front panel which has stopped all of my Numeric Controls generating Value Changed Events when the Return or Enter key is pressed.  The Value Change Event only fires if you TAB from the control or mouse click somewhere else.
 
Can someone please tell me how to get the normal functionality back!
 
Thanks
 
P
0 Kudos
Message 1 of 11
(3,566 Views)
Did you have specific key navigation configured for the control(s)?
0 Kudos
Message 2 of 11
(3,553 Views)

Hi smercurio,

No key navigation defined for any controls

P

 

0 Kudos
Message 3 of 11
(3,550 Views)
you need to define a key navigation for the enter key.
 
R
0 Kudos
Message 4 of 11
(3,542 Views)
Ray,

I just put together a little test VI and it generates Value Changed events on a Numeric control upon hitting Enter with no key navigation set.

toad,

Is it possible that your control was changed to an indicator?
0 Kudos
Message 5 of 11
(3,539 Views)

Hi Johnsold,

On a numeric control, yes 🙂  Try it using a string control 😉

R

0 Kudos
Message 6 of 11
(3,519 Views)
Do you have a filtering event for the enter key. For example placing the following code in a while loop would do what you observe.
 
 

JoeLabView wrote:
On a numeric control, yes 🙂  Try it using a string control 😉
... unless the string control is set to "limit to single line". 😄


Message Edited by altenbach on 07-12-2008 11:08 AM
0 Kudos
Message 7 of 11
(3,508 Views)

I didn't think about that one 😮

LOL! 😉

That's something which is good to know..



Message Edited by JoeLabView on 07-12-2008 08:39 PM
0 Kudos
Message 8 of 11
(3,495 Views)
Hi all,
 
Many thanks for your suggestions - but I'm still having no luck.
 
I'll try and reply to all of your points in one hit here:
 
johnsold : No the control is definitely a numeric control.
 
JoeLabView : I've tried adding new numeric and string controls(limited to single line) to the front panel, neither respond to Enter/Return value changes.
 
altenbach : I've got no filtering defined for any keys.
 
 
I'm sure it must be something to do with the front panel itself or some environment option.  I can copy the controls to a VI in a new project and they respond correctly with value changed events.
 
Best regards
 
P
 
0 Kudos
Message 9 of 11
(3,463 Views)

When all fails....  maybe if you posted your code and we could have a look / run at it.

R

0 Kudos
Message 10 of 11
(3,446 Views)