LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa event driven application

in my application i need to enable visa read event like visual basics on_comm event because visa read vi has a long waiting time if nothing is received.for that my application is getting slow.if i get some suggestion regarding this it will be an immense help for me.
0 Kudos
Message 1 of 3
(3,021 Views)
I've created an app note plus LabVIEW examples to show how to handle query synchronization with instruments using VISA events. The app note is currently being reviewed by our technical communications group. Once finished, the app note, examples, and a Macromedia Breeze presentation will be posted to DevZone. I'm attaching the draft copy of the app note plus examples. I'd appreciate any feedback you might have.
Download All
0 Kudos
Message 2 of 3
(3,021 Views)
Instead of doing a read with a fixed number of bytes, try putting a VISA Bytes at Serial Port first and put the VISA Read inside a case statement and only read when the number of bytes is greater than 0.
0 Kudos
Message 3 of 3
(3,021 Views)