That is what I am essentially doing , as I have multiple excel data sets that I 
read . I just increment the waitbar for each data set.
At least the user gets some feedback on the progress . A bit of a hack

Cheers

Greg

From: users <users-boun...@lists.scilab.org> on behalf of Federico Miyara 
<fmiy...@fceia.unr.edu.ar>
Date: Thursday, 12 October 2023 at 1:01 pm
To: users@lists.scilab.org <users@lists.scilab.org>
Subject: Re: [Scilab-users] Periodic Timer

What about my proposal of just informing an estimate of the time at which the 
load of the excel is expected to de complete? This is fairly easy and complies 
with the requisite of telling the user that the load is in progress.

Regards,

Federico Miyara
On 11/10/2023 20:37, Greg James wrote:
Hi
That is what I have essentially done , just update the waitbar through sections 
of the code as read in multiple data sets.

To have the ability to have a user thread would be great or a periodic timer 
that has a call back mechanism.

I really don’t care about the exact progress of the waitbar , all I want is to 
give the user feedback that something is happening as the excel reads are slow 
because of the size of the data .

Cheers

Greg

From: users 
<users-boun...@lists.scilab.org><mailto:users-boun...@lists.scilab.org> on 
behalf of Stéphane Mottelet 
<stephane.motte...@utc.fr><mailto:stephane.motte...@utc.fr>
Date: Wednesday, 11 October 2023 at 5:52 pm
To: users@lists.scilab.org<mailto:users@lists.scilab.org> 
<users@lists.scilab.org><mailto:users@lists.scilab.org>
Subject: Re: [Scilab-users] Periodic Timer

Hello,

You have  the progession bar, i.e.

    progressionbar('Please wait while loading data');

which is incorrectly  named as it cannot show any progression (unlike 
waitbar()) but only a kind of bar which oscillates, showing that something is 
happening. This one will keep oscillating in an asynchronous way (in the 
background) until you delete it.

However, even if Scilab would be able to launch threads at the user level, 
updating a bar showing progression would need to be hardcoded in xls_read, 
because you have to know the current position you are reading w.r.t. the 
overall size ot the data stream.

The only case where something could be done is if your data is organized in 
many sheets within the xls file. In that case you could iterate on sheets and 
update a waitbar().

S,
On 10/10/2023 01:31, Greg James wrote:
Hi
Is there a periodic timer like the Matlab timer function ?  The parallel run 
function does not seem to exist in the 2023.1.0 release , as I thought I may be 
able to use that instead.

I am reading a large excel spreadsheet and it would be good to implement a 
progress bar .  So, a periodic timer that runs in the background could be used 
to check a flag finish flag . If the finish flag is false increment the 
progress and fire the timer off again.

Kind Regards

Greg





This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/






_______________________________________________

users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>

Click here to unsubscribe: 
<mailto:users-unsubscr...@lists.scilab.org><mailto:users-unsubscr...@lists.scilab.org>

https://lists.scilab.org/mailman/listinfo/users

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/



This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/





_______________________________________________

users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>

Click here to unsubscribe: 
<mailto:users-unsubscr...@lists.scilab.org><mailto:users-unsubscr...@lists.scilab.org>

https://lists.scilab.org/mailman/listinfo/users


[Image removed by 
sender.]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

Libre de 
virus.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/



This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users

Reply via email to