Run - Extends SMath Studio with the ability to run other worksheets in background - Messages
#21 Posted: 11/4/2018 1:10:40 PM
Ah I see what you’re getting at, not at my computer now but calcSheet.sm is actually a large 14 page calculation worksheet with ~10 input variables and 12 result/output variables that I’m not going to rewrite into a for loop on one page.
See below the input (and output) spreadsheet as well as my long calc sheet.
smath IO table.xlsx (48 KiB) downloaded 44 time(s).
DM splice connection design.sm (665 KiB) downloaded 50 time(s).
See below the input (and output) spreadsheet as well as my long calc sheet.
smath IO table.xlsx (48 KiB) downloaded 44 time(s).
DM splice connection design.sm (665 KiB) downloaded 50 time(s).
#22 Posted: 11/4/2018 1:47:23 PM
WroteAh I see what youâre getting at, not at my computer now but calcSheet.sm is actually a large 14 of calculation worksheet with ~10 input variables and 12 result/output variables that Iâm not going to rewrite into a for loop on one page.
Maybe you don't want the best way to do ... is it ?
"Monkey see, monkey do"
"Monkey don't see, monkey don't do"
#23 Posted: 11/12/2018 8:28:20 PM
Plugin updated
Try now; I made a workaround to allow multiple executions of the same file(s).
Wrotethere's something with run() only running files if they have a different name
Try now; I made a workaround to allow multiple executions of the same file(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#24 Posted: 10/11/2022 10:48:55 AM
Hello,
I have two questions/comments regarding the Run plugin:
1. In the newest SMATH version 1.0.8253, the plugin does not seem to run properly. It is using the wrong input data row in the sequence. Also, the actual .sm files are being opened instead of being run in the background.
2. Is there a way to save the .sm files for each run? The new version of SMATH appears to do that however, erroneously.
Thanks
I have two questions/comments regarding the Run plugin:
1. In the newest SMATH version 1.0.8253, the plugin does not seem to run properly. It is using the wrong input data row in the sequence. Also, the actual .sm files are being opened instead of being run in the background.
2. Is there a way to save the .sm files for each run? The new version of SMATH appears to do that however, erroneously.
Thanks
#25 Posted: 10/13/2022 12:07:05 PM
Davide introduced Run(,) in SS 6179.
I'm using SS 6179, but Run(,) does not exist.
Then out of topic.
You mentioned running in background mode.
Smath is compatible for this mode ... Explain.
Most of us open Smath from the task bar.
Thus you can work the documents you open.
Now, to open another instance of Smath
double click on the Smath icon from desk top.
Click on that session, open some document greedy in timing,
Press F9 to run.
Go back to the first Smath instance, navigate your documents.
In the mean time, the greedy 2nd instance keeps running
like if you had Smath in two separate computers.
Revisit the greedy 2nd instance ... bingo: 12 min done.
You can had more independent instances from the desk top.
So, the one that takes 3 hrs will be there once done
while continuing the classroom from the first task bar instance.
Cheers if it can help ... Jean
I'm using SS 6179, but Run(,) does not exist.
Then out of topic.
You mentioned running in background mode.
Smath is compatible for this mode ... Explain.
Most of us open Smath from the task bar.
Thus you can work the documents you open.
Now, to open another instance of Smath
double click on the Smath icon from desk top.
Click on that session, open some document greedy in timing,
Press F9 to run.
Go back to the first Smath instance, navigate your documents.
In the mean time, the greedy 2nd instance keeps running
like if you had Smath in two separate computers.
Revisit the greedy 2nd instance ... bingo: 12 min done.
You can had more independent instances from the desk top.
So, the one that takes 3 hrs will be there once done
while continuing the classroom from the first task bar instance.
Cheers if it can help ... Jean
#26 Posted: 5/17/2023 1:22:23 PM
I played around with Run(). I got it to work only with explicit path specification in rfile() and wfile(), i.e. the versions from the Mathcad Toolbox.
Also, is it by intent, that the spawned SMath instance has to be closed manually each time?
Also, is it by intent, that the spawned SMath instance has to be closed manually each time?
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#27 Posted: 5/18/2023 6:08:24 AM
Hello Martin,
Nope, it isn't. I guess the behavior changed when Andrey introduced the single instance or the account features, but there's not much that can be done from the plugin side about this.
Nope. You have to use one of the export functions and save the data in an external file.
Wroteat the spawned SMath instance has to be closed manually each time?
WroteAlso, the actual .sm files are being opened instead of being run in the background.
Nope, it isn't. I guess the behavior changed when Andrey introduced the single instance or the account features, but there's not much that can be done from the plugin side about this.
Wrote2. Is there a way to save the .sm files for each run? The new version of SMATH appears to do that however, erroneously.
Nope. You have to use one of the export functions and save the data in an external file.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
-
New Posts
-
No New Posts