LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with timing issue

Help, I am a total amateur with labview 5.1.
I need help with what I am sure is a simple problem. I am using Fieldpoint
and I need to implement a time off delay between one digital input and one
digital output. When input "a" is true i want output "a" to go true
immediately. when the input goes false I want the output to remain true for
several seconds before going false. I have tried several approaches, but I
either delay everything or nothing.
If someone could start me off in the right direction I would appreciate it.

pcarney1@bellsouth.net
0 Kudos
Message 1 of 2
(2,320 Views)
PC wrote:

> i When input "a" is true i want output "a" to go true
> immediately. when the input goes false I want the output to remain true for
> several seconds before going false. I have tried several approaches, but I
> either delay everything or nothing.
> If someone could start me off in the right direction I would appreciate it.

Dont know anything about fieldpoint but I think I can answer your question.

Drop a case structure and put the output in the True Case
In the false case drop a sequence. In the first frame add the
wait and in the second sequence add a local variable to the
output.

This will work except if it is enclosed in a while loop, then
the wait will execute everytime that the input is false and hold up the
program until the timer expires.

Hop
e this gets you going the right way.
Kevin Kent
0 Kudos
Message 2 of 2
(2,320 Views)