Mathcad Custom Functions

Mathcad Custom Functions - This plugin will help you to connect Mathcad custom functions - Сообщения

#61 Опубликовано: 22.06.2013 11:07:20
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 22.06.2013 11:43:53
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: 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 Опубликовано: 22.06.2013 14:05:49
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 КиБ) скачан 137 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 пользователям понравился этот пост
Radovan Omorjan 22.06.2013 14:23:00, Вячеслав Мезенцев 22.06.2013 15:39:00
#64 Опубликовано: 22.06.2013 15:46:09
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
ioan92 26.06.2013 04:26:00
#65 Опубликовано: 09.11.2013 09:48:20
GerardLardner

GerardLardner

4 сообщений из 34 понравились пользователям.

Группа: 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 Опубликовано: 10.11.2013 06:08:50
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 11.11.2013 07:01:57
GerardLardner

GerardLardner

4 сообщений из 34 понравились пользователям.

Группа: 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 Опубликовано: 05.12.2013 07:23:20
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: 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 Опубликовано: 05.12.2013 07:53:57
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 05.12.2013 10:01:28
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: 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 Опубликовано: 05.12.2013 11:10:36
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 06.12.2013 06:58:41
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: User

Ok, uni. There it is the log file:


efi.txt (6 КиБ) скачан 95 раз(а).
#73 Опубликовано: 06.12.2013 12:54:51
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 06.12.2013 13:19:36
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: User

There is only one file, mcadefi.dll. Is that right ?
#75 Опубликовано: 06.12.2013 13:34:29
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Yes, that's right. It contains all others. They will unpacked when SMath Studio is launched.
Russia ☭ forever, Viacheslav N. Mezentsev
#76 Опубликовано: 06.12.2013 15:35:07
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: User

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


efi.txt (332 Б) скачан 97 раз(а).
#77 Опубликовано: 06.12.2013 15:59:07
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 06.12.2013 16:11:28
Henrique

Henrique

1 сообщений из 17 понравились пользователям.

Группа: User

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

Thank you very much.
#79 Опубликовано: 22.02.2014 06:19:30
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Martin Kraska 23.02.2014 10:44:00, Davide Carpi 22.02.2014 07:58:00
#80 Опубликовано: 23.02.2014 05:43:37
zorrykid

zorrykid

5 сообщений из 18 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений