Mathcad Custom Functions

Mathcad Custom Functions - This plugin will help you to connect Mathcad custom functions - Messaggi

#61 Pubblicato: 22/06/2013 11:07:20
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

I don't like scripting languages​ because their debug is uncomfortable to me. That's how I debug Fortran program running in Mathcad. It's easy and without intermediaries.

TestFortran, debug.png
Russia ☭ forever, Viacheslav N. Mezentsev
#62 Pubblicato: 22/06/2013 11:43:53
kilele

kilele

134 apprezzamenti in 397 post.

Gruppo: User

yes, seems a neat way to work but I was meaning a way to call fortran libraries from within SMath thanks to Python (Ironpython ? ). The idea would be access the old good Fortran without daring to touch his spaghettian idiosyncrasy. This article mentioned in my prior post has good appoints about this approach:
https://github.com/thehackerwithin/PyTrieste/wiki/F2Py
I don't know if you plan some debug capabilities for scripting in your xyplot plugin.
#63 Pubblicato: 22/06/2013 14:05:49
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Wrote


Try this assembly with the 32BIT flag.



This works. What is the drawback of using the modified SMathStudio_Desktop.exe? I guess there is no free lunch...

Didn't dig through the special functions from mathlib, also did not guess all the units implied in Steamtables. Still made some doc pages for the plugin and the two example libraries, based on the material supplied by uni in post #1
Section Special functions.sm (60,73 KiB) scaricato 1675 volta(e).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 utenti hanno apprezzato questo post
Radovan Omorjan 22/06/2013 14:23:00, Вячеслав Мезенцев 22/06/2013 15:39:00
#64 Pubblicato: 22/06/2013 15:46:09
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

Wrote


Try this assembly with the 32BIT flag.



This works. What is the drawback of using the modified SMathStudio_Desktop.exe? I guess there is no free lunch...


This means that the program runs as a 32-bit process. If any part of it can't work that way, it will lead to an error when loading. Most plug-ins can run in both modes. This is a free lunch for now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
ioan92 26/06/2013 04:26:00
#65 Pubblicato: 09/11/2013 09:48:20
GerardLardner

GerardLardner

4 apprezzamenti in 34 post.

Gruppo: User

First of all, thank you guys for finding a way to get old (efi) Mathcad plugins working. I have now managed to load WaterSteamPro in SMath Studio under Windows 7 X64. That's a good start.

Now for the questions:
Is there a way to load reference files in SMath - specifically I am trying to load watersteampro.xmcd, the file which gives units to all the functions in WaterSteamPro?

And an unrelated question:
Is SMath Studio able to use functions provided by a COM server such as FluidProp (http://www.asimptote.com/software/fluidprop)?
#66 Pubblicato: 10/11/2013 06:08:50
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote


Now for the questions:
Is there a way to load reference files in SMath - specifically I am trying to load watersteampro.xmcd, the file which gives units to all the functions in WaterSteamPro?


You can use include() function for this purpose. But the xmcd-file has to be rewritten by hand.

Wrote

And an unrelated question:
Is SMath Studio able to use functions provided by a COM server such as FluidProp (http://www.asimptote.com/software/fluidprop)?


I think there is no direct path for that.

Russia ☭ forever, Viacheslav N. Mezentsev
#67 Pubblicato: 11/11/2013 07:01:57
GerardLardner

GerardLardner

4 apprezzamenti in 34 post.

Gruppo: User

Hi uni,

Thanks for the info. Maybe eventually I'll get around to rewriting the WaterSteamPro conversions file; for today I'll just stick with using X-Steam.
#68 Pubblicato: 05/12/2013 07:23:20
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

Hi Uni.

I'm trying to use portable version of SMath on a computer with windows xp with no kind of mathcad installed. SMath can't load mcaduser, please see the picture below:

https://www.dropbox.com/s/650ild4jpd2pahc/erro.bmp

It's necessary to install mathcad, so Smath can load the mcaduser.dll ?

Henrique.
#69 Pubblicato: 05/12/2013 07:53:57
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Mathcad is not needed. mcaduser.dll - this is my version of the library. This plug-in can work only in 32-bit environment, so if you use 64-bit environment, you need a special version of the executable file SMathStudio_Desktop.exe. You can remove the plug-in and the error should disappear (it is not clear what you need).
Russia ☭ forever, Viacheslav N. Mezentsev
#70 Pubblicato: 05/12/2013 10:01:28
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

I'm using Windows XP 32bit. Actually, I'm a MathCad user and I'm learning to use the SMath. Just an example is when I was using the "round" command, as I did in MathCad, appeared this error about unable to load the mcaduser.dll.
As I found your post about the dll problem I decided to ask.
#71 Pubblicato: 05/12/2013 11:10:36
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Ok. The last version is 1.0.4977.35617 (Registered Extensions). Show me the log file from the plugin directory: \userefi\efi.txt. Then, try to use new version. You can update it from the Smath Studio.
Russia ☭ forever, Viacheslav N. Mezentsev
#72 Pubblicato: 06/12/2013 06:58:41
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

Ok, uni. There it is the log file:


efi.txt (6,42 KiB) scaricato 1146 volta(e).
#73 Pubblicato: 06/12/2013 12:54:51
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Try to replace the files. They can be taken from this archive: EFI for SMath Studio. You need to delete all files in the plugin folder and copy the file mcadefi.dll.

By the way, PTC has restored support for this interface in new Mathcad Prime 3.0.
Russia ☭ forever, Viacheslav N. Mezentsev
#74 Pubblicato: 06/12/2013 13:19:36
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

There is only one file, mcadefi.dll. Is that right ?
#75 Pubblicato: 06/12/2013 13:34:29
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Yes, that's right. It contains all others. They will unpacked when SMath Studio is launched.
Russia ☭ forever, Viacheslav N. Mezentsev
#76 Pubblicato: 06/12/2013 15:35:07
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

Didn't work. There it is the log file:


efi.txt (332 B) scaricato 1184 volta(e).
#77 Pubblicato: 06/12/2013 15:59:07
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Could you try the regular version (not portable)? Nightly build: SMath Studio 0.96.4909 (10 June 2013)
In this case you can install the plugin from the Gallery.
Russia ☭ forever, Viacheslav N. Mezentsev
#78 Pubblicato: 06/12/2013 16:11:28
Henrique

Henrique

1 apprezzamenti in 17 post.

Gruppo: User

Yes. With the regular version worked! Without the EFI Plugin. I can use round() normally.

Thank you very much.
#79 Pubblicato: 22/02/2014 06:19:30
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Russia ☭ forever, Viacheslav N. Mezentsev
2 utenti hanno apprezzato questo post
Martin Kraska 23/02/2014 10:44:00, Davide Carpi 22/02/2014 07:58:00
#80 Pubblicato: 23/02/2014 05:43:37
zorrykid

zorrykid

5 apprezzamenti in 18 post.

Gruppo: User

Hi Uni

this is just to know if is now possible to run the Steamtables for MathCad after the updateing of the Mathcad EFI Plugin

Best regards

Franco
  • Nuovi post
  • Nessun nuovo post