Question

In this problem you will construct a stop light display. Create a dial control that goes...

  1. In this problem you will construct a stop light display. Create a dial control that goes from 0 to 2, with three LED displays: one green, one yellow, and one red. Have the VI turn the LED green when the dial is on 0, yellow when the dial is on 1, and red when the dial is on 2.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

In the front panel 1.) Right click>>>select  NUMERIC>>>select DIAL

Dial scale selection:Right click on dial>>>go to properties>>>go to scale>>>select min and max(0 and 2)

2.)Right click>>>select BOOLEAN>>>select Round Led

For colour change of LED: Right click on LED >>Go to properties>>>Appearance>>>colors>>>click ON icon and select appropriate color.

I have used while loop for continuous glowing of light if the condition is true.stopping the loop:right click on red icon which is in rightside corner of while loop>>>select create>>>select control.

Any query , most welcome.

  

Add a comment
Know the answer?
Add Answer to:
In this problem you will construct a stop light display. Create a dial control that goes...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Word Problem) Two two-way streets meet at an intersection controlled by a four-way traffic light. In...

    Word Problem) Two two-way streets meet at an intersection controlled by a four-way traffic light. In the east and west directions, the lights cycle from green to yellow to red. The south-facing lights do the same thing, except that they are red when the east-west lights are green or yellow, and vice versa. However, the north-facing lights are augmented with a green left turn arrow. They cycle red-green arrow-yellow arrow-green-yellow-red. Consider the following additional problem specifications: When the green or...

  • Problem 10 Use the following circuit to answer the next four questions. Recall that the resistor...

    Problem 10 Use the following circuit to answer the next four questions. Recall that the resistor enclosed in a circle with two arrows is a photoresistor/photocell. The photoresistor will be used to control the circuit's behavior. If the room is dark, the red LED will illuminate. In moderate light, the yellow LED will illuminate. In bright light, the green LED will illuminate. The reading from the photoresistor at pin AO is assigned to the integer variable, "photo_value. ☆ ☆ Red...

  • 4. In this problem you will use CodeWarrior to develop the code to implement a three-light...

    4. In this problem you will use CodeWarrior to develop the code to implement a three-light traffic signal. The program should do the following: a. Turn on a green LED attached to Port B bit 2 for 60 seconds, b. Turn off the green LED and turn on a yellow LED attached to Port B bit 1 for 30 seconds, c. Turn off the yellow LED and turn on a red LED attached to Port B bit 0 for 60...

  • • Create an Android Stop Watch mobile application based on the below requirements: ◦ The Stop Watch App will display the...

    • Create an Android Stop Watch mobile application based on the below requirements: ◦ The Stop Watch App will display the time as: ▪ HH:MM:SS.mmmm Where HH represents the number of hours; MM represents the number of minutes; SS represents the number of seconds; mmmm represents the number of milliseconds. For example, ▪ 02:09:57.1234 The above time example would read: ▪ Two hours and ▪ Nine minutes and ▪ Fifty seconds and ▪ One thousands two hundreds thirty four milliseconds...

  • Problem 4 For this question, you will write a program called drive.py that determines if a...

    Problem 4 For this question, you will write a program called drive.py that determines if a car should go through an intersection or stop. Your program will prompt the user for the colour of the traffic light at the intersection (a string), the distance to the intersection in meters (a float), and the speed of the car in meters per second (a float). Your program must then determine if the car should go through the intersection or stop. The following...

  • This pertains to PLC logic and writing PLC programs. It is required to use LogixPro software...

    This pertains to PLC logic and writing PLC programs. It is required to use LogixPro software for the ladder program design. please either provide pictures or drawings of what the ladder program would look like, thank you! Course Project Description Parking Garage Operations Process The process consists of a parking garage with an entrance and an exit door. The garage has 25 parking spaces. We assume the garage is empty at the beginning of the day. The parking garage manager...

  • seven-segment display, similar to the one above, can be used to display any digit from 0...

    seven-segment display, similar to the one above, can be used to display any digit from 0 to 9. A system that you are designing has one of these displays owever, in your system the display can be either red or green. Your job is to create a logic that will tell the system which color the display should be. The input for the system is 4 bits, w.x.y, z. These bits correspond to the digit that is being displayed. z...

  • 2. Consider the following problem associated with synchronizing traffic lights. A particular traffic light (Light A)...

    2. Consider the following problem associated with synchronizing traffic lights. A particular traffic light (Light A) has a cycle as follows: Red = 1 min Green = 1.5 min Yellow = 0.5 min Some distance before Light A is another light (Light B). Due to varying drivers and conditions, the travel time between the two lights varies from vehicle to vehicle. Data suggest that 40% of all cars leaving Light B at a time when Light A is red are...

  • Designing a Traffic Light Controller [50 pts] [Your originality, thinking method and execution would be graded]...

    Designing a Traffic Light Controller [50 pts] [Your originality, thinking method and execution would be graded] In Gotham city, traffic lights have three outputs as Red (R), Yellow (Y) or Green (G). Let's assume you're given a microchip with clock input 0.2 Hz. As you know.cars can travel when the light is Green and should not pass the traffic light when the light is Yellow or Red. We are asked to design the traffic light controller in the busiest road...

  • Hi, I need help with AVR Assembler language I need to do a traffic light project, with a RIP sens...

    Hi, I need help with AVR Assembler language I need to do a traffic light project, with a RIP sensor and 3 LEDs. I guess I have to set the sensor like there is no motion detected at first and the red led on, then when motion detected, turn the yellow led on for some time and then the green. Problem is that it has to be in assembler language and I don't know how to start. This is how...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT