Jump to content

Recording and re-generating RS 232 signal


Recommended Posts

Hi all,

I'd like to record a RS 232 signal to disk so as to be able to regenerate it (to simulate a device), the RS 232 speed is 57600 Baud.

I read that I should over-sample at least 16x if I go for a Analog Input board because RS needs steep rising edges.

Has anybody ever done something similar ? Does it work ?

I have never used HS DIO (655x or 656x series), maybe this would be more appropriated to record and regenerate an RS 232 signal ?

Any comment, ideas, though or orientation will be very appriciated, thanks in advance.

Link to comment
Link to comment
  • 2 weeks later...

QUOTE(TiT @ May 29 2007, 11:09 AM)

Hi all,

I'd like to record a RS 232 signal to disk so as to be able to regenerate it (to simulate a device), the RS 232 speed is 57600 Baud.

I read that I should over-sample at least 16x if I go for a Analog Input board because RS needs steep rising edges.

Has anybody ever done something similar ? Does it work ?

I have never used HS DIO (655x or 656x series), maybe this would be more appropriated to record and regenerate an RS 232 signal ?

Any comment, ideas, though or orientation will be very appriciated, thanks in advance.

TiT,

I have a couple of quick comments (I've been swamped recently, not much time to contribute to this forum, unfortunately!)

Beware of the voltage levels on the RS-232, if this is a "standard" RS-232 device! (and standard can be a very difficult term to apply to RS-232!) I've measured voltages of +/- 11 volts using an oscilloscope. If you use a standard DIO at TTL levels, you may need some circuitry or a box to properly handle the mismatch between TTL and RS-232 levels.

BTW, why not just listen using the computer's RS-232 port and copy down the byte stream to a file, then spit that file back through the RS-232 port when you want to simulate? It might be faster, better, and cheaper that way. Is there something particularly "interesting" you expect to need to do that an RS-232 port may not quite be able to facilitate?

-Pete Liiva

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.