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

Ring Control changes without a write to the ring control

$
0
0

I am experiencing a weird phenomenon. My application opens a main gui.

 

On the main gui is a ring control which allows our operator to choose the test mode that they want the tests to run in. This basically controls the way data is handled and the tests that can be run in that mode.

 

There is another ring control which allows the operator to select the test that they want to run.

 

Once the operator selects a test, there is a Run Test button on the main gui.

 

The issue:

The user selects a test to run then hits the "Run Test" button. Another gui pops up, the main gui remains open, but the second gui becomes the active gui. The test runs and the second gui closes making the main gui the active gui again. On several occassions, and without clicking anything the operator has watched the "Test Mode" Ring change it's value about 10 - 15 seconds after they ran the last test.

 

I have gone through my code and there is nowhere that I programatically write to this control. I only "GetCtrlVal" and dim or undim the control with "SetCtrlAttribute". 

 

Any insight as to what could be causing this is appreciated. I am thinking there maybe a context switching issue here.


Viewing all articles
Browse latest Browse all 5342

Trending Articles



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