Example Code

Delay Boolean with Elapsed Time using LabVIEW

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.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

This examples gives a delayed response from a user selected boolean control to its indicator

 

Description

This VI will give a delayed response from a user selected boolean control to its indicator. There is also a counter present in the VI that shows that the VI never slows down while using the Elapsed Time VI. The amount of time elapsed can be set by the user for varying applications. The Elapsed Time VI also has an auto reset that the control is wired to.

 

Requirements

LabVIEW Full Development System 2012 or compatible 

 

Steps to Implement or Execute Code

  1. Run the VI
  2. Enter the required delay amount in milliseconds between the trigger and response.
  3.  Press the Trigger button, the Response indicator will be true after the specified delay has passed

 Additional Information or References

VI Block Diagram


2170.PNG

 

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

Chris Van Horn
Applications Engineer

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

Comments
Owen534
Member
Member
on

Hello 

I am having trouble with this time delay component. After applying the time delay into the VI file l cannot run the circuit for testing. However after removing the time delay l can run my circuit. l have a hint that when downloading this LabVIEW software l might have missed a file. Is their anyway to check what files might l be missing to find th emissing file. Or if anyone has another suggestion plz let me know.