04-05-2007 03:52 AM
04-11-2007 07:23 AM
04-11-2007 09:25 AM
Hey Manuel,
I tried to reproduce the desciped behaviour running your VI with about 25 VIs in memory. On my system it works fine exept pressing LCtrl+Left, then the loop time becomes about 300ms instead of the 1ms entered. The funny thing is, using the other keyes works without problems. Another thing I encountered was, after opening the task manager to view the processor load no random number will be shown or updated, so that the indicator is 0. When working with 1ms timing and pressing LCtrl + any Key exept Left the processor load is in a normal area (>10%). When pressing LCtrl+Left the first processor is at about 55%, the second at about 25%. I don't know why on my system the Left Key makes such problems while the others work.
So, first question, why is it necessary to have 15-20 VIs in memory (open) while working with your application? The problem can be that the event queue of the operating system has to handle a lot of references because of all the open windows. This could be a problem for determin the correct window for the event handler to assign one of the key events.
BR, Christian
04-11-2007 09:52 AM
04-13-2007 04:42 AM
Hi Manuel,
Yes, I can see the same behaviour. With e.g. the calculator open and 29 VIs in memory it works without problems, without calculator open the LCtrl+Left strikes. This could be voodoo or something!
I will forward this to R&D, maybe they know the reason. But it could take some time for an answer.
BR, Christian
04-16-2007 03:15 AM
Hi Manuel,
This seems to be a problem with the UI-Thread. Currently we are working on this issue, I will let you know if I get any information.
One crazy thing is, if you first press the key up/down/left/right key and then the Left-Ctrl, it works!
BR, Christian
04-16-2007 04:12 AM
Hi Christian,
"One crazy thing is, if you first press the key up/down/left/right key and then the Left-Ctrl, it works!"
This is a very good message!
I can tell the users of my teststand to press the keys this way. That's a first workaround.
Best regards and many thanks for this useful hint,
Manuel