07-19-2019 12:08 PM
When I send information to my VISA device through the VISA Test Panel, I receive the proper responses, but when I try to write through the VISA vi's in LabVIEW I receive timeout errors.
Can anyone tell what I'm missing? Or something I can do to troubleshoot? Any help is appreciated.
Solved! Go to Solution.
07-19-2019 01:18 PM
What is the display format for the VISA Write constant?
My guess is you have it set for Normal display rather than \codes display and are thus sending a backslash and an "n" rather than a line feed character.
07-19-2019 02:05 PM
This was part of the solution. Also needed to add a delay, as without it the device didn't have enough time to write a response.
Thanks!
07-21-2019 03:23 AM - edited 07-21-2019 03:27 AM
Must be a rather slow device if it can’t respond in 1000ms. Although the CLS might do some sort of reset which might take some time. You could instead of sprinkling your code with delays also increase the Timeout that you explicitly initialize anyways.
07-22-2019 08:36 AM
I originally tried cranking the timeout up to 5000ms, but it didn't help. After you last response I'm starting to wonder if my diagnosis was perhaps incorrect.