The problem was that the program needed to be Root to read the serial port. Problem solved.
Alan