[Scilab-users] callback delay

Antoine Monmayrant antoine.monmayrant at laas.fr
Sun Oct 18 19:34:31 CEST 2020


On 18/10/2020 10:43, Stefan Du Rietz wrote:
> Hello Antoine,
>
> thank you very much for your replies, especially your hint about Java. 
> The problem is that my GUI is rather complex with several levels and 
> the delay is not always happening. However, when it does, it is 
> extremely annoying!  It never happened in Scilab 6.0.2.

OK, that's a thing you can try: can you test 6.1.0 & 6.0.2 on the same 
computer, with everything else being identical but for the version of 
scilab?

Antoine

>
> I will try to analyze the issue deeper according to your propositions, 
> and if I manage to isolate it, I will provide an example.
>
> Stefan
>
>
> On 2020-10-18 10:10, Antoine Monmayrant wrote:
>> Even If you cannot measure the issue, if you have a minimum working 
>> example that triggers this bug, it would be helpful to share it with 
>> us so we can try to reproduce the issue and maybe link it to some 
>> version of java or your os.
>>
>> By the way, did you try to take another computer and do a vanilla 
>> install of scilab and try to reproduce the issue?
>> Maybe trying different os/java jdk might give some hint at the source 
>> for this bug...
>>
>> Antoine
>>
>> On 17/10/2020 21:00, Stefan Du Rietz wrote:
>>> Hello Stephane and Antoine,
>>>
>>> I tried to explain why I cannot. After I have pressed the button 
>>> with the callback, I can see that it takes a long time until the 
>>> toc() message from the start of myfunction arrives. I don't know how 
>>> to get the time from my button-press. Any idea?
>>>
>>> Stefan
>>>
>>>
>>>
>>> On 2020-10-17 17:10, Stéphane Mottelet wrote:
>>>> Hello Stefan,
>>>>
>>>> Do you have a complete example using e.g. an uicontrol or else ?
>>>>
>>>> S.
>>>>
>>>>> Le 17 oct. 2020 à 16:49, Stefan Du Rietz <sdr at durietz.se> a écrit :
>>>>>
>>>>> Hello,
>>>>>
>>>>> in the latest version Scilab 6.1.0, I have noticed that sometimes 
>>>>> there is a long delay before the execution of a callback, If I try 
>>>>> to measure it, e.g. by using tic()
>>>>>
>>>>>   "callback","tic();myfunction()"
>>>>>
>>>>> and then, in the beginning of myfunction(), having
>>>>>
>>>>>   disp(toc())
>>>>>
>>>>> the time is very short despite a delay of half a minute! Can 
>>>>> anybody explain this and tell me how to find out what is going on?
>>>>>
>>>>> Thanks in advance
>>>>> Stefan
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users at lists.scilab.org
>>>>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users 
>>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at lists.scilab.org
>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>



More information about the users mailing list