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

learn more… | top users | synonyms (1)

0
votes
1answer
53 views

How to fill a Marshal buffer with whitespace using NETLink

Further to Todd Gayley's answer on string handling in a DLL function, I have the following code: ...
7
votes
0answers
180 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
103 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: ...
6
votes
0answers
147 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
460 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
283 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
135 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
61 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: ...
2
votes
0answers
88 views

Problems creating CDF via .NET DLL

I have read several posts at SE and googled a lot, but I still have difficulties to create a CDF via .NET. My first try was the Wolfram example MathKernelApp.exe ...
2
votes
0answers
289 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 ...
1
vote
0answers
95 views

Calling a dll from Mathematica

I would like to call the following function from Mathematica ps3000aOpenUnit PICO_STATUS ps3000aOpenUnit ( short * handle, char * serial ) I define the ...
1
vote
0answers
86 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
59 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 ...
0
votes
0answers
20 views

what's the difference between CreateKernelLink() and CreateKernelLink(String Arg)?

I have a .NET program which will connect to MathKernel. When the program runs, there will be a icon of MathKernel on the taskbar. ...
0
votes
0answers
71 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. ...
0
votes
0answers
52 views

When using NETLink, what is sufficient sanitization?

I am writing a webapp where I use MM via NETLink to process user inputs. In one example, the user will have a textbox in which they can write some simple numerical expression, and using MM together ...
0
votes
0answers
59 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), ...
0
votes
0answers
100 views

Extract pointer to a structure via netlink

In a dll library I have the C function DRV_DioReadBit, containing the structure ...
0
votes
0answers
96 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 netlink in ...