MathGroup Archive 2005

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

Search the Archive

Re: Mathematica: access serial port?

  • To: mathgroup at
  • Subject: [mg60398] Re: Mathematica: access serial port?
  • From: bmccarthy at
  • Date: Thu, 15 Sep 2005 05:16:18 -0400 (EDT)
  • References: <dg8ln4$rdr$>
  • Sender: owner-wri-mathgroup at

I think you might be able to do it using the file alias for the com
port. In Linux (also in Windows), you can treat ports as files and read
and write to them using fopen, fread, fwrite etc.

See this
Adn this:

Renan wrote:
> Hello,
> 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++)?
> I use Mathematica 5.0 in Linux, so this maybe would require a kernel
> module for the serial port.
> Thanks!

  • Prev by Date: Strange error when using InequalityPlot3D
  • Next by Date: Re: Re: Re: Hardware question
  • Previous by thread: Mathematica: access serial port?
  • Next by thread: Re: Mathematica: access serial port?