LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xcontrol "key down" event only available during runtime

I am trying to develop an XControl based on a regular Labview String Control.  I want an event to fire when certain keys are pressed (for example the arrow keys so I can check if scrolling other sibling controls is necessary).  However, I can only get the Key Down event to fire if the VI containing the XControl is running (runtime).  If the VI is in development mode (stopped) then no event fires.  Compare this to the Mouse Down event which fires during both modes.

I have attached a stripped down version (as a zipped LV 8.2 project), which has 2 counters laid over the top of the string control.  "Counter" counts any Key Down events, "Counter 2" counts any Mouse Down events.

I am curious if this is by-design, or a bug.  Every other type of event fires during development mode (because really, the XControl Facade VI is in run mode the whole time).

The VI in the project also contains an ordinary text control with a similar Counter and event structure in the VI itself, this of course only works during runtime!
0 Kudos
Message 1 of 2
(2,560 Views)
This is a known issue. It was definitely a bug, as this was not the behavior in 8.0. The issue was filed to engineering under CAR# 402FFU9I. It was also fixed in the 8.2.1 release. If you have SSP, then you should have automatic access to this mainenance release.

Message Edited by Jarrod S. on 05-17-2007 10:08 PM

Jarrod S.
National Instruments
0 Kudos
Message 2 of 2
(2,555 Views)