The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Projection Systems > Remote Control Solutions
Forgot Password?
                          Register

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old Wednesday, September 29th, 2010, 02:09 PM
New Church Media Member

 
 Join Date: Sep 2010 
 Last Online: Saturday, February 9th, 2013 
Question Simple RS-232 Control

Hey guys,

Quick question. I need a simple way to send a string(%BE%EF%03%06%00%BA%D2%01%00%00%60%01%00\r) to a projector. Is there any way to do this with a .bat file so I can just click it and it turns on?

Thanks!
Reply With Quote Start a New Topic From This Comment
  #2 (permalink)  
Old Wednesday, September 29th, 2010, 02:28 PM
bpalermini's Avatar
First Impressions Pastor

 
 Join Date: Aug 2004 
 Last Online: Yesterday 
In the old days you could do that with a terminal program. Do they still have terminal programs?
Reply With Quote Start a New Topic From This Comment
  #3 (permalink)  
Old Thursday, September 30th, 2010, 02:14 AM
Church Media Expert

 
 Join Date: Apr 2009 
 Last Online: Yesterday 
Windows still has Hyperterm.

Alternatively, you could download Borland's TurboC (now a free download) and write a small C program to send a character string specified on the command line to the serial port (also defined on the command line). You can compile your C program using TurboC to create an executable (.exe) file and place that plus the desired string(s) into a batch file.

Dave
Reply With Quote Start a New Topic From This Comment
  #4 (permalink)  
Old Thursday, September 30th, 2010, 08:56 AM
sempei13's Avatar
Paul Alan Clifford
Become a CMN Professional Member!

 
 Join Date: Mar 2003 
 Last Online: Thursday, June 6th, 2013 
Vista and 7 don't come with hyperterminal anymore (something I run into with my job all the time). You can still use it, but it's something you have to find elsewhere. I'm wondering if you can open a hyperterminal file (with all the settings like baud rate, com port, etc) and then pass it that command. Let me know if anyone figures this out.

Paul
Reply With Quote Start a New Topic From This Comment
  #5 (permalink)  
Old Thursday, September 30th, 2010, 03:43 PM
New Church Media Member

 
 Join Date: Sep 2010 
 Last Online: Saturday, February 9th, 2013 
Quote:
Originally Posted by daver2 View Post
Windows still has Hyperterm.

Alternatively, you could download Borland's TurboC (now a free download) and write a small C program to send a character string specified on the command line to the serial port (also defined on the command line). You can compile your C program using TurboC to create an executable (.exe) file and place that plus the desired string(s) into a batch file.

Dave
Sounds like a plan to me just I dont know ANYTHING about programing
Reply With Quote Start a New Topic From This Comment
  #6 (permalink)  
Old Thursday, September 30th, 2010, 08:06 PM
tpichler's Avatar
Church Media Regular
Become a CMN Professional Member!

 
 Join Date: Jul 2007 
 Last Online: Friday, March 8th, 2013 
If you still have this need I would be happy to whip up a little application for you.
Reply With Quote Start a New Topic From This Comment
  #7 (permalink)  
Old Friday, October 1st, 2010, 02:19 AM
tpichler's Avatar
Church Media Regular
Become a CMN Professional Member!

 
 Join Date: Jul 2007 
 Last Online: Friday, March 8th, 2013 
Ok, the app is ready for you to test.
It is a small (<40KB) windows application that allows you to configure a com port as well as the command(s) you would like to send. You can save each individual command configuration in a file. If you turn on the AutoSend feature then when you run the exe and pass the file as a parameter it will send the command and exit the app. This should allow you to configure any commands you like and create batch files to execute them.
Reply With Quote Start a New Topic From This Comment
  #8 (permalink)  
Old Friday, October 1st, 2010, 07:49 AM
FlamHappy's Avatar
Church Media Regular

 
 Join Date: Apr 2010 
 Last Online: Tuesday, May 24th, 2011 
From a DOS prompt:

ECHO %BE%EF%03%06%00%BA%D2%01%00%00%60%01%00\r > comX:

Where comX: is com1: or com2: or com3: or com4:

This may not work on "advanced" operating systems such as Vista or Win 7 but it sure will work on XP and earlier.

And yes you may put this in a batch file and it will work there too.
__________________
Visit the new Worship Him!
Software Users Forum at forum.mtrecording.com
Reply With Quote Start a New Topic From This Comment
  #9 (permalink)  
Old Friday, October 1st, 2010, 11:57 AM
sempei13's Avatar
Paul Alan Clifford
Become a CMN Professional Member!

 
 Join Date: Mar 2003 
 Last Online: Thursday, June 6th, 2013 
How do you set baud rate, data bits, etc with the Dos method? That seems great to me except for those settings.
Reply With Quote Start a New Topic From This Comment
  #10 (permalink)  
Old Friday, October 1st, 2010, 02:17 PM
FlamHappy's Avatar
Church Media Regular

 
 Join Date: Apr 2010 
 Last Online: Tuesday, May 24th, 2011 
Mode comx: 9600,n,8,1

But in windows you set that stuff up in control panel.
The default is 9600 n 8 1 and most devices made in this century accept that speed and protocol.
__________________
Visit the new Worship Him!
Software Users Forum at forum.mtrecording.com
Reply With Quote Start a New Topic From This Comment
  #11 (permalink)  
Old Friday, October 1st, 2010, 03:04 PM
sempei13's Avatar
Paul Alan Clifford
Become a CMN Professional Member!

 
 Join Date: Mar 2003 
 Last Online: Thursday, June 6th, 2013 
That rocks. I can think of tons of stuff I want to control serially that a simple batch file will let me do with a simple double-click.

Paul
Reply With Quote Start a New Topic From This Comment
  #12 (permalink)  
Old Friday, October 1st, 2010, 04:19 PM
FlamHappy's Avatar
Church Media Regular

 
 Join Date: Apr 2010 
 Last Online: Tuesday, May 24th, 2011 
Quote:
Originally Posted by sempei13 View Post
That rocks. I can think of tons of stuff I want to control serially that a simple batch file will let me do with a simple double-click.

Paul
Nerd.

Just playin' wit cha brother.
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Projection Systems > Remote Control Solutions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 01:41 AM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0