From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

crio output not turning on

Solved!
Go to solution

Hello all,

 

In part of this project I have to:

-wait for a specified delay

-turn on an output

-wait for a specified duration

-turn off the output

 

Actually, there may be 5 of these running at the same time, each in a subvi.

 

The code seemed pretty straightforward even to me, but the output never comes on. It appears that it wants to wait until the Duration has passed, which is of course too late.

Attached is an image of the obvious first try.

Knowing that shared variables can have a delay I added a while loop to ensure that it was on, but it still goes through the process without ever turning the output on.

I also replaced the Wait function with the Time Delay function with the same result.

Any ideas?

 

Paul

0 Kudos
Message 1 of 2
(1,920 Views)
Solution
Accepted by topic author pjackson59

Never mind . My bad. The Duration got set to 0.

0 Kudos
Message 2 of 2
(1,884 Views)