From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LABVIEW

Solved!
Go to solution

I have a digital input and digital output ,i want my digital output to turn off after 10 sec after i turn on my digital input, which VI should i use fo rthis application??

0 Kudos
Message 1 of 2
(2,099 Views)
Solution
Accepted by topic author umer777

Hi umer,

 

welcome to the forum!

(Next time please create your own thread!)

 

I have a digital input and digital output ,i want my digital output to turn off after 10 sec after i turn on my digital input, which VI should i use fo rthis application??

You need:

- a DAQmx task to read the digital input

- a DAQmx task to write the digital output

- a loop to wait for a HIGH digital input

- a wait function

- a DAQmxWrite function to write a FALSE to the digital output…

 

LabVIEW comes with a lot of example VIs explaining all those items!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,093 Views)