×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PROGRAM, WHERE TO BEGIN

PROGRAM, WHERE TO BEGIN

PROGRAM, WHERE TO BEGIN

(OP)
got a problem, got a automated tester, program at written in c 1.1, the person that build this device nolonger here, can not upgrade this device or software because of hardware. Me I know a little about basic, have lots of dum dum c books and qbasic books to read, but need to found some starting point in undeerstanding his program before it go nuts while we use it to run test. got any Ideas to start.
SIGN PANIC ps. Help

RE: PROGRAM, WHERE TO BEGIN

If you're not a C programmer, this could be a daunting job.  If you have the source code and especially if it is well commented, you may be able to get somewhere.

I think I would look down thru the source for the main function.  It will be called main() - there may or may not be anything between the parentheses. This function will include most (maybe all) the function calls in the program. Looking thru this part first will give you an idea of the program flow.  

Just look at the other functions and see what they do (in most well-written C programs main() doesn't really do any of the work itself)- and see if you can connect them to whatever your tester is doing.  

Remember that this is just another way of writing logic statements and will essentially perform the same job as a PLC program.

God Luck!
Steve

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources