Author |
Topic  |
|
hofmaale
20 Posts |
Posted - 10/18/2016 : 03:52:50 AM
|
Origin Ver. and Service Release: 2015 / 2016, whichever is better Operating System: Windows 7
I have a few OriginC-Scripts whose execution might take some time (separating tables and creating multiple worksheets, processing and fitting data, importing data etc.).
It occurs to me, however, that Origin seems to run my code in the main UI thread, or at least blocks it until execution finishes. This leads to all kind of annoyances, some of them are: a) the process' message queue is stopped, Origin does not respond to Windows' messages anymore and the well known "The Process has stopped responding" message appears b) (because of a) no statusmessages can be displayed c) (because of a) incorporating a "Press any key to stop"-system involves some fancy Keyboard-Routines and manual readout of the Keyboard-Buffer because normal keyboard-functions in Windows depend on a working Message-Loop
I can live with a), but I would like to overcome b) and c)...
Is there a possibility to allow Origin to process Messages during scrip execution? Note that simply outsourcing the work to annother thread wouldn't help, as origin still needs to wait for it to finish before it can continue, especially when creating/manipulating Origin-Objects like Worksheets or Graphs.
Thanks in advance Alex |
Edited by - hofmaale on 10/18/2016 03:54:34 AM |
|
yuki_wu
896 Posts |
Posted - 10/26/2016 : 10:15:48 PM
|
Hi Alex,
Checked with our developers, it is not supported for now. I will bring your case to our weekly share meeting and see what we can do to improve it.
Regards, Yuki OriginLab |
 |
|
VladGets1
Germany
12 Posts |
Posted - 11/04/2016 : 04:40:02 AM
|
thanks
quote: Originally posted by yuki_wu
Hi Alex,
Checked with our developers, it is not supported for now. I will bring your case to our weekly share meeting and see what we can do to improve it.
Regards, Yuki OriginLab
|
 |
|
|
Topic  |
|
|
|