Jump to content

Tim888

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0

About Tim888

  • Rank
    I've come back for more.

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2005
  1. Thanks for the replies! This application has been running for the last 18 hours now without issue, so it is confusing. Currently I am using a "cheap" USB to RS232 converter for development. I wonder if that has to do with the port getting stuck like a comment mentioned above. Does anyone have a recommendation on a reliable USB to RS232 converter? To answer a comment above, what I meant by the port freeze/stuck is that it will not respond anymore. It doesn't seem to be timing out since I'm not seeing lags in the program. When write commands are sent nothing seems to be processing, and I won't be getting a feedback either. When I exit the application, it will process through a VISA Clear and VISA Close vi, and they both error out. I will have to unplug the USB adapter and re-plug it in to get the port to reset. Also does anyone know of a program that can monitor a serial port and possibly diagnose when the port gets stuck? Thanks, Tim
  2. Hello, I'm working on an application that requires constant reading and writing through the Serial Port, and the application needs to be running continuously. The issue that I come across is that the port get "stuck" at random times. Sometimes it can run for minutes to 12 hours before the port freeze up. I am wondering if anyone has experience with this and have advise for this situation. Possibly related to: 1) Best coding practice for this set up / handshaking 2) Time delays between reads functions or write functions or read/write 3) Asynchronous vs Synchronous settings for the VISA modes 4) Re-initializing port periodically? 5) Any other suggestions Thanks, Tim
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.