04-15-2013 02:02 PM
I have been having endless communication and dropped port issues, and it just so happens I have a "Prolific" usb-serial converter! I'm self taught in labview and everything I know about this issue (little that I do know) I have learned from google and the ni forums. I know next to nothing about Plug and Play. Can you recommend a PnP implementation that you have found to be robust?
04-15-2013 02:11 PM
I've used quite a few of the iogear USB serial converters and never had a problem. I believe they use the FTDI chipset.
04-13-2016 11:23 AM
Hi, hou did you solve this problem? Thanks
04-13-2016 03:23 PM
I still haven't, sorry.
06-15-2017 08:25 AM
falkpl ha scritto:
I had a very bad experience with prolific usb driver, It actually always lead to a blue screen on windows (within a few hours depending on the frequency of the calls to visa). I looked in the crash log files and chased it down to the prolific driver dll call. Replaced the usb to serial converter with a different brand and the application is running without anm issue for over a year now. This was not a Visa or Labview issue but some wierd compatability issue.
I'm having the same experience with LabView running on Windows 7. I'm using a prolific USB to RS232 converter and after few hundreds write and read calls, either LabView crashes or the fearing blue screen appears. As a consequence windows needs to be restarted.
Is there anyone else dealing with this issue?
Could someone suggest me another USB to serial converter with no such a drawback?
Thank you.
06-15-2017 08:33 AM
06-15-2017 09:36 AM - edited 06-15-2017 09:36 AM
If leaving the port in an unknown state is the issue, then do the following:
06-15-2017 10:21 AM
@jackieflat wrote:
falkpl ha scritto:
I had a very bad experience with prolific usb driver, It actually always lead to a blue screen on windows (within a few hours depending on the frequency of the calls to visa). I looked in the crash log files and chased it down to the prolific driver dll call. Replaced the usb to serial converter with a different brand and the application is running without anm issue for over a year now. This was not a Visa or Labview issue but some wierd compatability issue.
I'm having the same experience with LabView running on Windows 7. I'm using a prolific USB to RS232 converter and after few hundreds write and read calls, either LabView crashes or the fearing blue screen appears. As a consequence windows needs to be restarted.Is there anyone else dealing with this issue?
Could someone suggest me another USB to serial converter with no such a drawback?
Thank you.
What Version of LabVIEW? What version of VISA?
Are you opening the port more than once? Can you provide a snippet of the crashing code?
06-16-2017 02:56 AM
I'm using LabView Professional 2016. Attached my BD. The SubVI at the beginning just sets the serial port depending on the instrument I need. I veriifed the connection effectively work by using puTTY before developing my LabView application. The VI is very similar to the NI example Continuous Serial Write and Read.vi.
06-19-2017 07:15 AM
What Mechanical Actions are set for your Write and Read Booleans? If they are set for any of the switches and possibly the latch when pressed or latch until released, you might be inadvertently overflowing the instrument buffer. The preferred usage would be to set the mechanical action of those for latch when released.