Mathcad Custom Functions

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

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

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

1402 likes in 1708 posts.

Group: 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.

[albumimg]221[/albumimg]
Russia ☭ forever, Viacheslav N. Mezentsev
#62 Posted: 6/22/2013 11:43:53 AM
kilele

kilele

133 likes in 397 posts.

Group: 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 Posted: 6/22/2013 2:05:49 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: 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 KiB) downloaded 137 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Radovan Omorjan 6/22/2013 2:23:00 PM, Вячеслав Мезенцев 6/22/2013 3:39:00 PM
#64 Posted: 6/22/2013 3:46:09 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
ioan92 6/26/2013 4:26:00 AM
#65 Posted: 11/9/2013 9:48:20 AM
GerardLardner

GerardLardner

4 likes in 34 posts.

Group: 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 Posted: 11/10/2013 6:08:50 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 11/11/2013 7:01:57 AM
GerardLardner

GerardLardner

4 likes in 34 posts.

Group: 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 Posted: 12/5/2013 7:23:20 AM
Henrique

Henrique

1 likes in 17 posts.

Group: 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 Posted: 12/5/2013 7:53:57 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/5/2013 10:01:28 AM
Henrique

Henrique

1 likes in 17 posts.

Group: 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 Posted: 12/5/2013 11:10:36 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/6/2013 6:58:41 AM
Henrique

Henrique

1 likes in 17 posts.

Group: User

Ok, uni. There it is the log file:


efi.txt (6 KiB) downloaded 94 time(s).
#73 Posted: 12/6/2013 12:54:51 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/6/2013 1:19:36 PM
Henrique

Henrique

1 likes in 17 posts.

Group: User

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

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

1402 likes in 1708 posts.

Group: Moderator

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

Henrique

1 likes in 17 posts.

Group: User

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


efi.txt (332 B) downloaded 96 time(s).
#77 Posted: 12/6/2013 3:59:07 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/6/2013 4:11:28 PM
Henrique

Henrique

1 likes in 17 posts.

Group: User

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

Thank you very much.
#79 Posted: 2/22/2014 6:19:30 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Martin Kraska 2/23/2014 10:44:00 AM, Davide Carpi 2/22/2014 7:58:00 AM
#80 Posted: 2/23/2014 5:43:37 AM
zorrykid

zorrykid

5 likes in 18 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts