08-23-2018 08:32 PM
I have build a program that connect a USB serial to the computer using NI-VISA. It was successful running without any error for more than a year. But now, the error box has pop-up both on development and deployment computers. I'm using LabVIEW 2012 SP1 & NI-VISA 5.3 version on Windows 7. I have check all the passports in the listbox but still got the same error. Do you have any idea why this thing happened now? What should I do to resolve this error? Thank you.
Solved! Go to Solution.
08-23-2018 09:16 PM
It would really help me help you out if you mentioned what the device is. Or even if it's a VCP, TMC or GPIB via USB. Perhaps even show the device IN MAX And windows device manager. Better yet, link the manual! Yes, we can help RTFM for you but, there are lots of USB devices and even I haven't read all of their manuals.
Really wild guess. Has someone been unplugging the device and plugging it into a new port?
08-23-2018 09:49 PM
I'm using ATEN USB to RS-232 adapter. Even if someone has unplugged the device and plugged it into a new port, the comm port has been set to same new comm port as well.
Here is the link to the ATEN USB manual. https://assets.aten.com/product/manual/uc232a_um_w_2017-05-04.pdf
What is other possibilities that cause this error? I'm really sure its not happened because of the wrong port.
Thank you.
08-23-2018 10:22 PM
Get a better converter.
Prolific does take liberty with the R in RS-232.
And, that does not tell me what the device you are communicating with is.
PS: the RS in RS-232,422,485...is short for Recommended Standard. AKA "My firmware engineer SAYS that he knows what to do...."
Yeah, at 77 baud on a 60mA DC teletype loop....programmed originally on punch cards!
08-25-2018 03:18 PM
As is often the case, the problem is either Hardware or Software, and you haven't given us enough information to help us "guess" which it might be.
Hardware:
Software:
Suggestion for tests:
If this all works, be sure your code is doing much the same thing. If it doesn't work, provide answers to the Hardware and Software "Unknowns" referenced above, and we'll check out your code and think about your devices.
Bob Schor