PC Review


Reply
Thread Tools Rate Thread

Controlling serial port from Powerpoint

 
 
David0126
Guest
Posts: n/a
 
      14th Jun 2005
I want to be able to send ASCII text strings using a serial port to a
lighting controller when Powerpoint slides change. What is the best
way to impliment this? Should I be using some other software with
this capability?

 
Reply With Quote
 
 
 
 
Austin Myers
Guest
Posts: n/a
 
      14th Jun 2005
You would have to write your own Visual Basic routine to do this, it isn't a
native function of PowerPoint.


Austin Myers
MS PowerPoint MVP Team

Solutions to Multimedia in PowerPoint www.pfcmedia.com



"David0126" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I want to be able to send ASCII text strings using a serial port to a
> lighting controller when Powerpoint slides change. What is the best
> way to impliment this? Should I be using some other software with
> this capability?
>


 
Reply With Quote
 
Steve Rindsberg
Guest
Posts: n/a
 
      14th Jun 2005
In article <(E-Mail Removed)>, David0126
wrote:
> I want to be able to send ASCII text strings using a serial port to a
> lighting controller when Powerpoint slides change. What is the best
> way to impliment this? Should I be using some other software with
> this capability?


As Austin's mentioned, you'd need to write some code to do this in VBA

You used to be able to get away with writing to COMn: as though it were a file.
Doesn't give you much in the bi-di communications department but might do the
job for you. I've no way to test this but it can't hurt to give it a try:

Sub HowBoutThis()

Dim sTestString as String

sTestString = "The string you want to send to the port"
Open "COM1:" For Output As 1
Print #1, sTestString
Close #1

End Sub

Another possibility: your controller hardware may have come with utility
software that lets you send strings. If it includes a program that allows you
to put the string to be sent on the command line, you could set an action
button's action setting to Run Program and fill in the full command line in the
run program box.

As far as triggering it when slides change, see:

Make PPT respond to events
http://www.rdpslides.com/pptfaq/FAQ00004.htm

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port with C# serial port class problem BrianK Microsoft Dot NET Compact Framework 13 22nd Sep 2008 08:20 PM
Can I Use powerpoint to send commands out the serial port? =?Utf-8?B?YnJhZGlnZXI=?= Microsoft Powerpoint 5 17th Aug 2005 12:54 PM
Controlling serial port Seb Schöps Microsoft VB .NET 4 28th Jul 2004 04:30 PM
Serial Communication Slow, Increase Serial Port Interrupt Priority? Günter Wirth Microsoft Windows 2000 Developer 0 2nd Oct 2003 02:01 PM
controlling powerpoint via serial R Microsoft Powerpoint 2 2nd Jul 2003 02:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 AM.