LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert pulse to latched

Solved!
Go to solution

Sorry  Dan

I am having trouble getting your diagram implemented.

Here is what i have so far.

 

Download All
0 Kudos
Message 11 of 17
(1,423 Views)

Skip the "initialize" control, the values should be the only thing latching and unlatching the signal (I remember what I said).  You should also get rid of that sub-VI between the "or" and the"high" and "low" indicators.

 

Also, what are "y" and  "y 2"?  Are those the real threshold values?  If so, get rid of the constant (.6 and .3) threshold values, it's getting confusing.

 

   ...Dan
 

0 Kudos
Message 12 of 17
(1,413 Views)

have cleaned it up like you asked but ihave broken line.

 

how is it using data and boolean at the same  time?

It looks like that is my problem, eh.I

0 Kudos
Message 13 of 17
(1,396 Views)

Can't see it, I'm at LV 7.1.  Anyway, keep it simple, keep the logic as boolean only -- forget the "data"

 

   ...Dan
 

0 Kudos
Message 14 of 17
(1,381 Views)

This code should also do the trick (I've attached the VI saved in LV 8.6): 

Boolean Latch 

 

The case structure that Dan mentioned in post #4 will work as well--just showing another way to implement the latch using boolean logic.

 

-John 

Message Edited by John P on 10-15-2008 11:33 AM
John Passiak
Download All
Message 15 of 17
(1,364 Views)
Solution
Accepted by topic author mgtyper

I agree, it's a better way than what I had called out -- with the case structure.

 

  ...Dan
 

0 Kudos
Message 16 of 17
(1,350 Views)

thank you

that worked just fine

0 Kudos
Message 17 of 17
(1,288 Views)