08-27-2013 08:35 AM
dear sir
I have created a AND logic where when both inputs are high using boolean switches output should become high green led should glow after 5seconds and other than it output should be false red led will glow. basically I want to use delay function .I am attaching file
thanking you
regards
kn
Solved! Go to Solution.
08-27-2013 09:25 AM
@kavharshre wrote:
dear sir
I have created a AND logic where when both inputs are high using boolean switches output should become high green led should glow after 5seconds and other than it output should be false red led will glow. basically I want to use delay function .I am attaching file
thanking you
regards
kn
Hi, kavharshre:
You would be doing yourself a great favor if you checked out this tutorial, paying particular attention to the section on dataflow. You would then understand why your code isn't working as planned. 🙂
08-30-2013 11:15 AM
thank u sir I will going through the tutorials
thank you
regards
kn
08-30-2013 11:30 AM
@kavharshre wrote:
thank u sir I will going through the tutorials
thank you
regards
kn
Don't thank me - thank yourself for willing to take the time to learn how to do it right. 🙂
09-02-2013 08:02 AM
Sir I have been able to solve the boolean problem
Now I have a query about the progress bar.I am new to labview 10.I have used the progress bar for extension and to retract.
I have been successful to extend the progressbar but how to retract or decrement the same progress bar ?
I was able to decrement using a seperate progress bar
Now on press of boolean switch progress bar should extend and after it completes its output given to and gate plus another retract boolean switch should decrement the same progress bar(using single bar)
can u help me.
regards
kn
09-02-2013 08:07 AM
sir I am attaching the solution for boolean.Any improvements or suggestions.
regards
kn
09-02-2013 01:44 PM - edited 09-02-2013 02:11 PM
@kavharshre wrote:
sir I am attaching the solution for boolean.Any improvements or suggestions.
Try to logically figure out what would happen if you remove the "AND TRUE" in the upper left and just wire the boolean directly to the case structure. 😄
09-02-2013 02:33 PM
@kavharshre wrote:
sir I am attaching the solution for boolean.Any improvements or suggestions.
Here's a literal rewrite.
09-03-2013 01:23 AM
sir
I have sent one more query regarding progressbar.Any suggestions how to increment and decrement a single bar using boolean.
regards
kn
09-03-2013 01:41 AM
@kavharshre wrote:
sir
I have sent one more query regarding progressbar.Any suggestions how to increment and decrement a single bar using boolean.
regards
kn
A progress bar needs a percentage value, 0-100, do decide fill. How do you plan to translate a boolean to percentage?
If used as direct indicator you can use Boolean to number * 100, but that'll only give empty or full progress bar.
If the boolean is supposed to start a fill, then you have 2 options:
1. While the button is down, increase the fill value (if reduction is needed it can reduce the same if button is up)
2. When the button is switched, activate a boolean in a shift register that controls the fill value.
solution 1 is slightly simpler to write, solution 2 is a better program.
/Y