Example Code

VISA Wait

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Other

    Software

  • LabVIEW

    Driver

  • NI VISA

Code and Documents

Attachment

Download All

Overview
This is just a simple wait function with a wrapper that makes it fit in with VISA.


Description 

Remember in most cases you need to wait between a VISA write and a VISA read. This wait time gives the instrument time to respond. Thus, this vi wraps the wait function for VISA.

 

Requirements

  1. LabVIEW 2012 or later
  2. NI-VISA Driver

 

Steps to Implement or Execute Code

  1. Select your VISA resource name;
  2. Set wait time (ms);
  3. Hit run.

 

Additional Information or References

VI Snippet

11111.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.