Re: Can I Use powerpoint to send commands out the serial port?
- From: "Austin Myers" <austinm@xxxxxxx>
- Date: Tue, 16 Aug 2005 19:48:20 -0500
Going from memory here (it's been awhile since I played with DOS) I think
the first statement in your batch file should be "ECHO OFF".
DOS experts jump in here.
Austin Myers
MS PowerPoint MVP Team
PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com
"bradiger" <bradiger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FF53C97B-B7CE-428B-9C19-77BB19B6A46E@xxxxxxxxxxxxxxxx
> I found an EXE file for my device and wrote several strings in DOS. I
> created a batch file for each of the 29 buttons on my powerpoint slide.
It
> works well. I even inserted a Sleep comand to turn the relays off after
15
> seconds. Not bad for a techie with absolutely no programming background
or
> experience. I couldn't have done it without the WEB and folks like
yourself
> to point me in the right direction.
>
> Once again, the world is safe.
>
> Now, for the side effects... Every time a batch file runs, the DOS screen
> pops up until the command string is complete! Including the 15 second
sleep
> function!
>
> Is there a way to keep the DOS screen invisible?
>
> "Austin Myers" wrote:
>
> > Hmmm, simple? Not really but it is doable. You know, it might be
simpler
> > than I first thought. You could write a small batch file that you
activate
> > via a "Action Setting" and "Run Program".
> >
> >
> > Austin Myers
> > MS PowerPoint MVP Team
> >
> > PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com
> >
> >
> >
> >
> >
> > "bradiger" <bradiger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:F8BBFE21-7C48-4AB1-B422-6DFE16507CD0@xxxxxxxxxxxxxxxx
> > > I'm not a programmer, but have a decent brain. I want to send
commands to
> > a
> > > RS232 controlled relay pack by actuating command buttons on a ppt
screen.
> > Is
> > > there a simple code to send these commands? I have code for the relay
pack
> > > i.e...
> > >
> > > MSComm1.Output = Chr$(254) 'enters command mode
> > > MSComm1.Output = Chr$(9) 'turns off any relays
> > > MSComm1.Output = Chr$(1) 'enters single relay-on mode
> > > MSComm1.Output = Chr$(relay - 1) 'selects relay to activate
> > >
> > > I'd also like to have the program repeat the relay off command after
15
> > > seconds and wait for the next button activation.
> >
> >
.
- Follow-Ups:
- Re: Can I Use powerpoint to send commands out the serial port?
- From: Michael Koerner
- Re: Can I Use powerpoint to send commands out the serial port?
- References:
- Can I Use powerpoint to send commands out the serial port?
- From: bradiger
- Re: Can I Use powerpoint to send commands out the serial port?
- From: Austin Myers
- Re: Can I Use powerpoint to send commands out the serial port?
- From: bradiger
- Can I Use powerpoint to send commands out the serial port?
- Prev by Date: Re: Zooming/Moving Pictures
- Next by Date: What power point program is reccommended for home email use?
- Previous by thread: Re: Can I Use powerpoint to send commands out the serial port?
- Next by thread: Re: Can I Use powerpoint to send commands out the serial port?
- Index(es):
Relevant Pages
|