How Do I Change VISA or GPIB VIs from Asynchronous to Syncronous?

Updated Apr 19, 2024

Environment

Driver

  • NI-VISA
  • GPIB Software

I am using the VISA Read or Write, GPIB Read or Write, or VISA Wait on Event VI. I know that by default it is set to run asynchronously. How can I change the behavior of this VI so that is runs synchronously?

To change the I/O mode of one of these VIs to synchronous, right-click on the VI in LabVIEW and select Synchronous I/O Mode»Synchronous, as shown in the image below.


Note that the small stopwatch graphic in the corner of the VI will disappear when the VI is set to synchronous.



For more details on whether synchronous or asynchronous is better for your application, see the Details section of the help documentation for the VI you are using, linked below.