Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

latch indicator Low after High
I have 4 indicators (LEDS) which show the status of 4 items.I have a further
 STATUS Led which indicates if all
4 indicators are high...AND GATE...
 
I want the Status led to go high when all are ok (AND GATE ) but fall low an
d stay low (Latch) if any of the 4 indicators (or all) goes from high state 
to low state and maybe goes high again, so i can see an error has happened a
t some point..
 
Anyone any ideas ?
 
I am using labview 8.0 or a screen picture would help.
 
Thanks,
 
Labtech5555
 
 

Report this thread to moderator Post Follow-up to this message
Old Post
labtech5555
04-03-08 01:39 PM


Re: latch indicator Low after High
Hi labtech, make a boolean shift register holding the state "error has happe
ned". Wire this to your "AND GATE" too... Include a "reset" to set back the 
value in this shift register.

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-03-08 01:39 PM


Re: latch indicator Low after High
Hi GerdW,
Thanks...Any chance of a quick picture :smileyhappy: to help.
Much appreciated.
Labtech5555

Report this thread to moderator Post Follow-up to this message
Old Post
labtech5555
04-03-08 01:39 PM


Re: latch indicator Low after High
Here is a sample file for you. The main thing to note is that you need to ma
ke sure your values are read inside the while loop... not set as inputs. Wha
t I mean by this is you cannot wire your values into the while loop from the
 outside, they would have t
o be local variables and such, or read from the terminal inside, like I did 
here. I also put a reset into this sample so that you could mess with it and
 see how it works.
It is saved in LV 8.0 format so you can read it.
 
Good Luck,


Latch Fault.vi:
http://forums.ni.com/attachments/ni/170/313400/1/Latch Fault.vi

Report this thread to moderator Post Follow-up to this message
Old Post
cybertazer
04-03-08 01:39 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

LabVIEW archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:08 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.