Questions about integrating Mathematica and .Net using the .NET/Link functionality provided with Mathematica.

learn more… | top users | synonyms (1)

8
votes
0answers
298 views

MathLink error while calling a custom Mathematica function - MLGet out of sequence

I am trying to call Mathematica 10 from F#. Following the C# sample code found in the Mathematica directory, I have written the following F# code: ...
8
votes
0answers
205 views

Socket communication and player pro

I'd like to create a simple communication channel between MMA and the animation package 'Maya'. This is possible over sockets ( very simple, just sending and receiving strings). I've got this working ...
6
votes
0answers
98 views

Echo server with Mathematica

Consider the following scenario: two wireless notebooks communicating via ad hoc one computer (the client) send packets via TCP protocol without Mathematica the other one is an echo server ...
6
votes
0answers
175 views

In .NET/Link, how do I not open multiple kernels?

I'm writing an ASP.NET page intended for multiple users. On the backend we have datatypes that are primarily mathematical, and interact with Mathematica for string-to-double evaluations, among ...
6
votes
0answers
567 views

Using Mathematica as a data visualization front end for .Net applications?

I have a C# application that has 3-dimensional data that I wish to plot. Controls in C# for surface modeling are, in my experience, rather limited. I wish to have my C# application send the 3D point ...
5
votes
0answers
471 views

How to extract structured array data from DefineDLLFunction in Mathematica

I want to use my Bluechip PCI-ADC acquisition card in Mathematica via his dynamic link library “Bcdll32.dll”; (used to access functions on my PCI data acquisition cards). My problem is the function ...
5
votes
0answers
166 views

Embed a Microsoft RichEdit 8 control in a Mathematica notebook using .NETLink?

Does anyone know whether or not it's possible to embed a RichEdit 8 control within a Mathematica Notebook using .NETLink? The goal here would be able to both view and edit mathematical text typeset ...
4
votes
0answers
87 views

How to use named arguments in .NET/Link (COM interface to Excel)

I am using Excel from Mathematica through .NET/Link (specifically using the COM interface). The following C# code adds a sheet after the last sheet: ...
4
votes
0answers
391 views

Retrieving Data from Excel Using NETLink / Pulling data using RTD Link

Reference: I've looked at the posting Open excel file with Mathematica. My intention is to be able to use Excel's RTD capability in order to pull market data into Mathematica. To my knowledge, this ...
3
votes
0answers
83 views

VS c# NetLink - pictureBox - MathCommand

Has anyone experiance or a running example how to use within VS C# the NetLink.UI pictureBox to plot graphics, especially using the pictureBox - "MathCommand" I use the code example below which throw ...
2
votes
0answers
43 views

Call Remote Kernel from NETLink

Is it possible to run a remote kernel from NETLink in some way as suggested by the second method below: DoRemoteMathCommand? ...
1
vote
0answers
63 views

Sub-processes (like XML.exe, GZIP.exe) not ended properly

I have difficulties with running MathKernel.exe from .NET and sub-processes like XML.exe and GZIP.exe, which are not terminated properly. Sometimes even the MathKernel.exe task stays active and is ...
1
vote
0answers
177 views

Call Mathematica function From .NET

What is the easiest way to call a function defined in Mathematica from .NET? I have the following defined in my current local Mathematica session. ...
1
vote
0answers
119 views

Load a Mathematica Notebook using .Net code

I have gotten a tremendous amount of information from the question posted at (Load a Mathematica Package via .Net code), which my application is very similar to. Specifically in that thread, the ...
1
vote
0answers
80 views

Extract information from functions that returns nested structures with DefineDLLFunction

Where can I find examples devoted to extracting information from functions that returns nested structures with DefineDLLFunction in Mathematica? The only example I found and understood, was given by ...
1
vote
0answers
141 views

Netlink interface for arduino - led blink example implementation

I'm trying to learn of how I can use netlink in Mathematica to communicate with Arduino. So question is the following: Can some one that has such experience in programming arduino using ...
0
votes
0answers
7 views

How to handle DLL dependencies between .NET dll and non-.NET dll's

I think my problem arises because I am successful with loading a .NET assembly, creating an instance and calling methods from a .NET dll. Certain methods, however, call methods from other non.NET ...
0
votes
0answers
16 views

Integrate fortran function into Mathematica

I was trying to use Fortran function in Mathematica. I was following mainly this answer . My Fortran code looks like this: ...
0
votes
0answers
49 views

system.dllnotfoundexception unable to load DLL“ .dll”: can not find corresponding module

There are two computers. One of them works correctly, whereas the second one writes an error system.dllnotfoundexception unable to load DLL" .dll": can not find corresponding module in ...
0
votes
0answers
167 views

Call functions from a notebook inside C#

Is there a way to use functions from a notebook in C# with NETLink ? I found only this: Evaluate Notebook from .Net, but it is not of much help. Any suggestions ?
0
votes
0answers
80 views

Plot hangs Mathematica through NETLink

I have a C# function that calls Mathematica via Wolfram.NETLink. On our home computers all the test calls work perfectly, but on our AWS server (both a microinstance and a beefy c3.xlarge instance), ...
-1
votes
0answers
79 views

Problem with System.Array in Mathematica

i am using NETLink to use some COM Objects in Mathematica, it works fine with almost all the functions, except one, that function has the following sintax in VB: Compute_CurrentPlan(nmsg As Long, ...