Multi-threading Mathcad + Excel
Hi all,
I have an Excel file with thousand of cases. The inputs of each case are sent to Mathcad through its API, and the results are sent back to the Excel file. This process is repeated sequentially, solving each case one-by-one. As you can imagine, it takes several hours to finish all cases.
I wonder if there is an option to use multithreading/parallel programming to solve several cases simultaneously and speed up this process.
Also, is there an API command that returns TRUE or FALSE if Mathcad is busy calculating? At the moment I am waiting a fixed amount of time (15 seconds) between cases. Maybe I can ask each second if Mathcad is calculating until it is not and then extract the output values.
Thanks!
Regards,

