NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

update operator interface

Hello,
Sometimes my operator interface will not updated correctly, for example after a PopUp window has been over the operator Interface window.
What is the problem and how can I solve it?
regards samuel
0 Kudos
Message 1 of 4
(3,373 Views)

Samuel,

Which operator interface are you using, and what version of TestStand? Are you using it unmodified or have you edited it in some way? I would need more information about the specifics of your applicaition to provide any kind of a useful answer.

-Jack

0 Kudos
Message 2 of 4
(3,352 Views)
Hello jack
I am using the simple opertaor Interface from NI which is created with LabWindwos CVI.
The version of testsand is 3.1,
I have modified this operator interface a little bit.
I have deleted buttons from the window and also the active x iniailzation behind these buttons. 
I have also deleted the window which shows the steps and the active x initialization behind.
I have added some textboxes to show the current part of my test in the operator interface
 
reagrds samuel
0 Kudos
Message 3 of 4
(3,341 Views)

Samuel,

I've not worked with the simple OI at the code level, but your modifications sound simple enough. One suggestion - if you run the same sequence in the unmodified Simple OI, do you see the same behavior? If not, then you've somehow modified a portion of the OI that was refreshing the screen after each step. In that case, comparing the differences should help lead you to where the screen refresh was being called. Another suggestion would be to add the ProcessDrawEvents () or ProcessSystemEvents () calls in a location where it would periodically get called, such as the UI Message handling routine.

I have a feeling that when you removed the window that showed the execution of the sequence, that you may have also removed the automatic refresh of the GUI. If you don't want to see the execution of the steps. you could disable tracing into the Main Sequence callback and then hide the control instead of deleting it, or a combination of these options (hide only, leave the execution view control visable, but turn off tracing, etc). This might help you determine exactly what isn't happening in your OI that you'll need to fix.

A final suggestion would be to add a step after any Message Popups (or other steps that don't refresh the GUI properly) that forces the OI to refresh itself explicitly (ProcessDrawEvents () or ProcessSystemEvents () calls) in your Test Sequences.

Hope the above helps you figure out what's going on in your Test Executive.

-Jack

0 Kudos
Message 4 of 4
(3,322 Views)