09-13-2013 10:47 AM
I am attempting to talk to a device through USB but it acts as a COM port/ serial connection through a driver.
I am writing commands to the device, and the the bytes in port vi shows that bytes are being written to the device, yet the device does not respond at all.
I can easily operate the device through putty though. I know the device works as I have confirmed it through an oscilloscope. What else should I troubleshoot? Or, are there other easier ways to write/read to a serial port other than VISA
I've attached a standard writing VI I have also tried with no luck. Should I try to continue to use VISA, or can I emulate puTTY on labVIEW?
Solved! Go to Solution.
09-13-2013 12:22 PM
09-15-2013 04:24 PM
I had used \n instead of \r
I switched my termination character and it works fine.
Thanks!
10-27-2016 04:43 PM - last edited on 03-12-2024 08:43 AM by Content Cleaner
We have developed a package on the LabVIEW Tools Network to automate serial port interactions. You can use it to replicate what you manually do using Putty in LabVIEW for serial devices such as logining in, entering commands, waiting for a response and returning it. You can find out more about it and download a 30-day free trial at: https://www.ni.com/en-us/shop/product/autoserial-toolkit.html