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
SIGN PANIC ps. Help





RE: PROGRAM, WHERE TO BEGIN
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