07-25-2013 05:35 PM
I am having some trouble with VISA read/ write opperations in a VI I am building. Just two days ago the same block diagram was working fine, but now whenever I try to communicate with this device I get a timeout (error -1073807194) on all my reads and writes. I went back to an older version of the program (the one I was using two days ago) and I get the same errors. I also tried just executing a single write opperation outside of the main program to the same timeout. I checked the communications in NI-MAX with the VISA test panel, and the exact commands I send via VISA in my block diagram work in the test panel without any issue. Moreover, VISA communication with other devices is working just fine in other VIs. Has anyone seen this before and know what to do to correct the problem?
07-26-2013 12:57 AM
Hi!
Is the interface configured in the same way in Max and in your VI?
Maybe you changed your device settings (e.g. baud rate) in your device but not in your code...
Marco
07-26-2013 04:15 PM
Hmm. I just closed and restarted LabVIEW and now it works fine. So something was messed up in LabVIEW.. not sure what though.
07-26-2013 04:15 PM
Thanks for the reply though Marco