The C program uses our specific API's that we've
developed in our software drivers.  These API's are
used to send commands to our hardware out the parallel
port of the PC. I am tested the API commands, and
making sure that they send the correct values with the
C program.

For a long term goal I would love to be able to do
this all from a perl script.  But I need access to
these C API's.  They are what I'm testing through the
C program.

For a short term goal I need a way to automate the C
program so I don't need to do everything by hand.

I hope this helps.

Thanks,

Tina

--- John Edwards <[EMAIL PROTECTED]> wrote:
> What does this command line program do? Maybe there
> is a way to do the whole
> thing in Perl.
> 
> -----Original Message-----
> From: C.Ouellette [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2001 15:02
> To: [EMAIL PROTECTED]
> Subject: command line program control
> 
> 
> I have a command line program running on Windows NT
> that I call up from a dos prompt. This program is
> written in C and has a simple menu structure.  I
> would
> like to use Perl to control this program, by putting
> in the menu options and values in a particular
> order.
> 
> For example:
> 
> Main Menu:
> 1) Option 1
> 2) Option 2
> 3) Option 3
> >> 
> 
> I would like a perl script that gave the program a
> '1', and then whatever values it needs from there. 
> I
> can store the values, and menu options in a data
> file,
> but I'm not quite sure how to use perl to control
> this
> program and give it the values.
> 
> I don't think the system command would work. I am
> somewhat famliar with TCL expect which I've used
> with
> telnet.  Is there something similar in Perl? 
> 
> I would appreciate any advice.  I am looking for a
> starting point.
> 
> Thank you,
> 
> Tina Ouellette
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
--------------------------Confidentiality--------------------------.
> This E-mail is confidential.  It should not be read,
> copied, disclosed or
> used by any person other than the intended
> recipient.  Unauthorised use,
> disclosure or copying by whatever medium is strictly
> prohibited and may be
> unlawful.  If you have received this E-mail in error
> please contact the
> sender immediately and delete the E-mail from your
> system.
> 
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to