Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica: access serial port?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60482] Re: Mathematica: access serial port?
  • From: "ragfield" <ragfield at gmail.com>
  • Date: Sat, 17 Sep 2005 02:32:18 -0400 (EDT)
  • References: <dg8ln4$rdr$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Renan wrote:
> Is there any way to make a Mathematica program access the serial port?
> I need this to link to external electronical device.
> Maybe using MathLink (but I don't know programming in C/C++)?

A while back I created a package that does this.  After reading your
message I cleaned it up a little and contributed it to the Mathematica
InfoCenter <http://library.wolfram.com>, but it has not yet been
posted.  In the mean time you can download it here
<http://members.wolfram.com/schofield/SerialIO.zip>.

Unzip, place the folder in $[User]BaseDirectory/Applications, then load
with <<SerialIO`.  The SerialIO directory contains a simple example
notebook.  Currently it works with Mac OS X and Linux (x86).  I can add
support for Windows and possibly other Unix platforms at request.

Rob Raguet-Schofield
Wolfram Research


  • Prev by Date: The question of equality,...
  • Next by Date: Re: Strange Elements in Table
  • Previous by thread: Re: Mathematica: access serial port?
  • Next by thread: Re: Mathematica: access serial port?