This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Selecting COM1:

Does anyone have a sample COBOL program that can open COM1: serial port

Tags:

Parents Reply
  • 0 in reply to   

    Yes I did and was able to connect to COM1:. The display pole I am using has 2 rows of 20 characters each, I am having an issue where I want to clear out the characters on both lines and am sending spaces to them,but they are not removed, any ideas?

Children
  • 0 in reply to 

    Sound very strange. What if you send a valid string of non-space characters? What about 40 nulls. What about 40 "-" and if that works what about prefixing your 40 spaces with a single non-space character? This type of display seldom has command characters but have you checked the manual? There may be some commands (maybe non-ascii characters prefixed with an Esc or similar)