scilab 6.0.0-beta-1/2 - uicontrol callback problem

classic Classic list List threaded Threaded
2 messages Options
Witczenko Witczenko
Reply | Threaded
Open this post in threaded view
|

scilab 6.0.0-beta-1/2 - uicontrol callback problem

This post has NOT been accepted by the mailing list yet.
Hi everyone,

I am developing a GUI application in Scilab and I have some problems with uicontrol callbacks
which are not processed when a while loop is running. I want to plot data in real time and control it via push buttons to change some states at the same time.
 
On Scilab version 5.5.2 it works quite well, except global variables which seem to be too lazy to be updated.

There is a little example of my concept:

PUSHBUTTON CALLBACK:
function start_stop_call()
   //Change stop_falg state
endfunction

//Define UI controls
.
.
.
//

MAIN LOOP:
while ~stop_flag
    //Update plot data
        //Give some time to complete other tasks (xpause/sleep)
end


Any suggestions how to do this kind of applications?

Tested on Scilab-6.0.0 beta 1, beta 2. Windows 7 64 bit.
farimani farimani
Reply | Threaded
Open this post in threaded view
|

Re: scilab 6.0.0-beta-1/2 - uicontrol callback problem