Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

PROGRAM, WHERE TO BEGIN

Status
Not open for further replies.

DC

Electrical
Feb 4, 2001
12
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
 
Replies continue below

Recommended for you

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor