Home > Archive > Mathematica > April 2007 > Porting waveforms out of Mathematica and into a D/A converter
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Porting waveforms out of Mathematica and into a D/A converter
|
|
| hot water 2007-04-26, 4:19 am |
| Porting waveforms out of Mathematica and into a D/A converter
I have an application where I want to take mathematical curves
generated in Mathematica and port them into a D/A converter. I would
use regular signal generators but that will take a very long time for
my medical ultrasound application.
Any suggestions?
Thanks,
Thomas
| |
| AeRobert 2007-04-27, 4:23 am |
| hot water wrote:
> Porting waveforms out of Mathematica and into a D/A converter
>
> I have an application where I want to take mathematical curves
> generated in Mathematica and port them into a D/A converter. I would
> use regular signal generators but that will take a very long time for
> my medical ultrasound application.
>
> Any suggestions?
What frequency?
The most easily available D/A convertor is the sound output of your
Computer Mathematica already has functions set up for that, but of
course the bandwidth is limited - to 20kHz (for a good sound card,
less for typical built in ones).
For higher frequencies you will need to get a specific D/A device,
which come as PC cards and USB devices. There's several suppliers
who's usual focus is "data acquisition" so use that as a search term.
They usually provide some basic sofware that allows you to test all
the functions of the card, but rarely in a user friendly or extensive
way - so you will probably need to consider the whole system of hardware
& software. (Amplicon might be a firm to start with and then, once you
have the jargon, search engine for more)
I'm assuming you intend to generate a string of nummbers describing
a wave form in Mathematica - they could be exported to a file in any
format you fancy - then "played" out to a sounder.
My experience is getting dated - I can do this kind of stuff working
in MS-DOS environments - there are perfectly good compilers to
write the necessary software freely available in the public domain.
Robert
Oxford, UK
robert-dot-paynter-at-virgin-dot-net
| |
|
|
Hi Thomas,
it all depends what and how the AD converter wants to be fed.
One possibility is to write the values to a binary file (assumung the AD
wants binary data,presumably integers) and to feed this file to the AD
converter.
hope this helps, Daniel
hot water wrote:
> Porting waveforms out of Mathematica and into a D/A converter
>
> I have an application where I want to take mathematical curves
> generated in Mathematica and port them into a D/A converter. I would
> use regular signal generators but that will take a very long time for
> my medical ultrasound application.
>
> Any suggestions?
>
> Thanks,
>
> Thomas
>
>
| |
| David Bailey 2007-04-29, 4:21 am |
| hot water wrote:
> Porting waveforms out of Mathematica and into a D/A converter
>
> I have an application where I want to take mathematical curves
> generated in Mathematica and port them into a D/A converter. I would
> use regular signal generators but that will take a very long time for
> my medical ultrasound application.
>
> Any suggestions?
>
> Thanks,
>
> Thomas
>
>
Thomas,
Why not tell us a bit more about the problem. Do you already have a D/A
converter, and what software interfaces does it have. Perhaps it has a
Java interface - which would be ideal. Alternatively perhaps it can
accept a data file in a particular format.
Do you need to control the waveform from Mathematica in real time (maybe
responding to some feedback from the user).
David Bailey
http://www.dbaileyconsultancy.co.uk
|
|
|
|
|