Re: Can I Use powerpoint to send commands out the serial port?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.
> >
> >

.



Relevant Pages

  • Re: Multi-zip files -- Windows server
    ... native DOS versions). ... TO BATCH OR NOT TO BATCH ... and using a batch file to try and solve the problem... ... The IBM PC operating system command line is a most ...
    (comp.sys.cbm)
  • Re: Renaming multiple files???
    ... I vaguely remember, in DOS, that I could type: ... Can't use the DOS ren command unless the wildcard before and after is ... What I do is drop to command line window (a couple clicks with my ... Run the batch file and all the files will be renamed. ...
    (sci.electronics.design)
  • Re: Cookie Removal
    ... One of my backups is a data only backup onto a USB drive using a DOS ... cookies & temp internet files from being saved on my workstation. ... my data backup uses a DOS batch file and XCOPY. ... I have thought of inserting a DOS DELETE command into that batch file ...
    (microsoft.public.windowsxp.general)
  • Re: Can I Use powerpoint to send commands out the serial port?
    ... DOS experts jump in here. ... PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com ... > created a batch file for each of the 29 buttons on my powerpoint slide. ... >>> I'd also like to have the program repeat the relay off command after ...
    (microsoft.public.powerpoint)
  • command line parameters
    ... Where can I find a list of command line parameters for PowerPoint? ... What parameter is required to start PowerPoint in fullscreen mode from a ...
    (microsoft.public.powerpoint)