Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15358
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Can MathLink write binary data to and read binary data from a |
| Date | 2013-08-31 12:09 +0000 |
| Message-ID | <kvsmeg$gtt$1@smc.vnet.net> (permalink) |
| References | <kvmmjd$4k4$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On 29/08/2013 06:35, sibir wrote: > I have a data acquisition system (which runs a UDP server on a point to point ethernet connection) which I want to control from Mathematica by sending it a bunch of bytes as commands and reading back binary data. > Is MathLink all I need or do I need some auxiliary code? > > Not my hometurf :-( > > Thanks for any advice! > Your best bet is to use J/Link and use the relevant classes from there. J/Link uses Mathlink internally, but it is much easier to use than MathLink. If you need more than a few lines of code, I'd write a Java class and compile it, rather than making lots of J/Link calls. Another option, since version 8, is to link directly to a DLL library written in C/C++. This is a direct call without a process switch, and doesn't use MathLink. David Bailey http://www.dbaileyconsultancy.co.uk
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can MathLink write binary data to and read binary data from a TCP or sibir <martin.rommel@gmail.com> - 2013-08-29 05:35 +0000 Re: Can MathLink write binary data to and read binary data from a David Bailey <dave@removedbailey.co.uk> - 2013-08-31 12:09 +0000 Re: Can MathLink write binary data to and read binary data from a TCP or sibir <martin.rommel@gmail.com> - 2013-08-31 12:17 +0000
csiph-web