Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Shortcut Keys Not Working In CVI 2013 Linux

$
0
0

I have an application that utilizes shortcut keys. In CVI 2013 for Windows they work fine. However when using CVI 2013 for Linux they do not work. If I revert back to utilizing CVI 2010 for Linux they do work again. I believe that this is a BUG within CVI 2013 for Linux.

 

I have created a simple test program with a togglebutton. The togglebutton has a callback and the main function additionally loops infinitely while calling GetUserEvent. The application is very mature and originally used the loop with GetUserEvent. Some functionality from mouse movements was required later in its life so callbacks were introduced for particular controls.

 

Anyways, I made the example program's event handling use callbacks and GetUserEvent same as the actual application for testing and the results came up the same - the shortcut key does not work when used with CVI 2013 for Linux. However, in CVI 2010 for Linux the shortcut key works fine.

 

I have uploaded a compressed tarball with the self contained example. It has a build script to build the test using both CVI 2010 for Linux and CVI 2013 for Linux. The scripts expect the root location of the NICVI installations to be /usr/local/natinst/NICVI2010 and /usr/local/natinst/NICVI2013. Thus, in order to try it out, you may have to alter the path based on your local installation path for NICVI20(10/13).

 

I am about to temporarily implement a workaround with one of the callbacks already used and the EVENT_KEYPRESS event. I say temporarily since this fix idea is a kludge for something that was caught by GetUserEvent prior to using 2013.

 

Someone please steer me in the right path or help with a patch.

 

Thanks,

-shrew

 

EDIT

I also tried the CVI 2013 for Linux f1 patch found here to no avail.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>