• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1447
  • Last Modified:

RS232 Com port stuck open

I have a program (written in Agilent Vee 8.0) which uses an RS232 Com port. Ocasionally it crashes and leaves the port stuck open and the only way to recouvour is to restart the PC. Is there a way of resetting the com port without resetting my PC?
2 Solutions
If you are using UART mode you need to check the FIFO butter enable or not 
to check this.
start > settings > control panel > system > hardware tab > device manager > ports > communication port > properties > port settings > advanced 
first un check the fifo buffter and test you program.
also you can set the prority for receive and transmit buffer on same menu according to you program.

Yes, it does state Windows 3.1 on it, but it works fine under XP. Simply launch the app, and it will ask you to forcibly close the port.

(not sure if thats a good link, might need to google it)
NicklebackAuthor Commented:
These both seem to work so Im splitting the points. (Thanks guys your strate A(s) once again. )
Im not shure which one is the best as the program only crashes once in a while and it will take me a month to get any real data.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now