Ive got a C program here that works via user inputs on the keyboard and logs time of a machine.
start count = 1
stop and log to file = 4
when you look at the log file of time.
date and time of start
date and time of stop
elapsed time(in seconds)
error time(in seconds)
I would like for the program to be automatic and to start when the machine software starts.
the big thing I would like is for the program to log time when the user hits "START" on the other program .
so instead of having to hit 1 in the program itll automatically start when they hit "start" in this other program.
when an error pops up, for it to start counting error time
when they hit ok to correct the error for it to stop logging error time.
when the machine run is done for it to stop and log everything.
I have no idea how I would go about doing this.
Any help is appreciated.
ps: the machine software is os2 based
though the pc has both windows and os2 on it...and you are able to switch back and forth between the 2 anytime.
and Im not sure if I can get access to the source code of this software I am trying to get it to respond to