Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline ksullivan  
#21 Posted : 04 November 2018 19:10:40(UTC)
ksullivan

Rank: Newbie

Groups: Registered
Joined: 11/01/2017(UTC)
Posts: 6
Man
Canada
Location: Vancouver, BC

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 (49kb) downloaded 25 time(s).
DM splice connection design.sm (666kb) downloaded 31 time(s).

Edited by user 05 November 2018 08:16:06(UTC)  | Reason: mistyped 'of' instead of 'page', uploaded files

Offline Jean Giraud  
#22 Posted : 04 November 2018 19:47:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: ksullivan Go to Quoted Post
Ah 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"
Offline Davide Carpi  
#23 Posted : 13 November 2018 02:28:20(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Plugin updated

Originally Posted by: ksullivan Go to Quoted Post
there'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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline modcal27  
#24 Posted : 11 October 2022 16:48:55(UTC)
modcal27

Rank: Newbie

Groups: Registered
Joined: 11/10/2022(UTC)
Posts: 1
United States

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
Offline Jean Giraud  
#25 Posted : 13 October 2022 18:07:05(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
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
Offline mkraska  
#26 Posted : 17 May 2023 19:22:23(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
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?
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Davide Carpi  
#27 Posted : 18 May 2023 12:08:24(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Hello Martin,

Originally Posted by: mkraska Go to Quoted Post
at the spawned SMath instance has to be closed manually each time?

Originally Posted by: modcal27 Go to Quoted Post
Also, 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.


Originally Posted by: modcal27 Go to Quoted Post
2. 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.

Edited by user 18 May 2023 12:11:31(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Similar Topics
Euler works - Runge-Rutta not (Questions)
by OchkovVF 31/12/2023 06:02:28(UTC)
RSgoldfast RuneScape: Jagex has put a lot of alarm (Download SMath Studio)
by Guest 30/11/2023 16:48:33(UTC)
Cannot run in Ubuntu 22.04 (Download SMath Studio)
by vroberts 28/09/2023 21:57:49(UTC)
HELP WITH PROGRAM RUNTIME (Questions)
by JReg 03/06/2023 12:52:38(UTC)
Form running on worker thread and not main thread (Questions)
by fakemoses 28/05/2023 00:26:25(UTC)
ist "Lifetime"-Lizenzierung auch für Advanced Version verfügbar? (Project discussion)
by andrbig77 03/06/2022 15:00:01(UTC)
runyvmat.com (Extensions)
by tang190 25/05/2022 09:14:22(UTC)
What's the Difference between a Start and a Run Capacitor? (Features announcements)
by hunian157 30/03/2022 04:59:00(UTC)
Smath Now Doesn't Run - Suspended? (Questions)
by lmariam 13/03/2022 20:20:40(UTC)
slow running (Questions)
by roman111 01/02/2020 19:31:45(UTC)
Trunc(Number,part), mantissa(X), csgn(z) (Samples)
by Jean Giraud 28/08/2019 15:38:33(UTC)
Saving Runtime (Questions)
by RegCurry 11/03/2019 09:23:03(UTC)
SMath Error Running Lubuntu 18 (Questions)
by dmmartinez 19/10/2018 23:57:32(UTC)
Run exe file in DOS from Smath (Questions)
by Oscar Ugaz 09/07/2018 19:39:58(UTC)
New version (0.99.6646) does not run (Bugs & Problems)
by Basile 14/03/2018 03:16:12(UTC)
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.