[Macpartners] Sending to RS-232 devices

David J. Broderick djbroder at MIT.EDU
Fri Jun 12 11:53:31 EDT 2009


I use scripts on the PC to turn various projectors on and off and to switch inputs. I use a separate file which contains the instruction itself because some instructions can be in Hex, and others are simply ASCII. Below is an example of what works on the PC.

I assume there are USB to RS-232 devices for Mac. Has anyone done anything like this on a Mac?

PC Example, where 'NEC-on' is a tiny file containing a string:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\
@echo off

mode com1 38400,N,8,1

copy NEC-on com1

Exit
\\\\\\\\\\\\\\\\\\\\\\\\\\\\
The file above spits the contents of NEC-on to com1 at 38400 baud...

David J. Broderick 
djbroder at mit.edu 
Audio Visual Project Technician
MIT AV 617 253 2808 
FAX 617 253 5945 
http://web.mit.edu/djbroder/www 

Audio Visual Services
MIT Room 4 - 017
77 Mass. Ave.
Cambridge  MA  02139
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Broderick, David J (djbroder at mit.edu).vcf
Type: application/octet-stream
Size: 656 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/macpartners/attachments/20090612/b8a91a8b/attachment.obj


More information about the Macpartners mailing list