LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA timeout in VI but not in NI-MAX

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?

Message 1 of 4
(2,555 Views)

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

0 Kudos
Message 2 of 4
(2,538 Views)

Hmm. I just closed and restarted LabVIEW and now it works fine. So something was messed up in LabVIEW.. not sure what though.

0 Kudos
Message 3 of 4
(2,524 Views)

Thanks for the reply though Marco

0 Kudos
Message 4 of 4
(2,523 Views)