how to read data from 15 pin connection?
Hello all, ive got a timer/counter program that works via user input. This is on an elecromechanical machine. The machine has its own software in a pc which controls the machine. (its a windows/os2 machine. the machine software is os2 based, another job order software is on the windows side)
I am trying to make the timer automatic. So that when the operator hits "start" in the software this little program will automatically start counting. When an error comes up(which stops the machine,this happens automatically) I want the program to count error time. Then the operator hits "continue" and the machine will start working again. itll then finish automatically when the run is done.
I want the timer to run automatically (or basically receive its commands from the machine software).
then write this information to a text file.
As I said I have a program that does this already via user inputs from the keyboard. Based on an idea from another forum user here, he/she suggested to read the data from the connector. There are supposedly scripts out there for reading from a serial port.
This is a 15 pin connector. Its plugged into its board in the back of the pc.
Does anyone know how I could get the program to respond to the pin signals to be automatic?
heres pic of the connector
Its hard to read but it reads from top to bottom:
Any help is appreciated.