Traffic light project for Multisim
Hello, I am trying to design a working traffic light for both N/S and E/W sides of traffic (i.e., six lights). I will build it later, for real, using the Elvis II breadboard. I have been looking around at other schematics on the web, I have drawn many of these on Multisim and none of them work. It also needs to be a U.S. traffic light, as the ones in the U.K. are different. I have tried many different combinations, with the 555 timer and the 4017 decade counter, but I don't know how these components actually work. I need help. The simplest circuit would be better, I know, like some kind of RS flip-flop or JK flip-flop (?). I don't know how these components really hook up together or how I am supposed to get the timing right, where the red and green on opposite times will stay on for a required time, like 15 seconds for demo purposes, and then go to yellow on the side the green was on for 3 seconds ( after the green goes out and the red stays on with the yellow) and then it flip-flops to green and red on the other side for 15 seconds. I don't know how to go about this. A good example would be very helpful. Thank you, brett1405
Solved!
Go to Solution.
Hi -
I am trying to build the same type of circuit in Multisim and am unable to get any simulation to run. The error keeps saying my "timestep is too short", which I have no idea what that means... Do you have any suggestions? I wasn't able to find the sample circuit in my Multisim version for the traffic light either.
I have what looks like a mess of a circuit and I don't even know where to begin to trouble shoot it...
Attachments:
Final Circuit2.ms10 266 KB
Similar Messages
-
Traffic Light Color for Empty Requests Disabled
Hi Gurus!
I'm having a trouble with a DELTA InfoPackage associated to our 0VENDOR_ATTR DataSource... For some reason the "Traffic Light Color for Empty Requests" option is Disabled (grayed out), and that's causing the failing of its respective ProcessChain (since after Initialization of the data source there are no new data to load)... I was wondering if you may have an idea about what am i doing wrong? Any help would be appreciated.
Regards!
RicardoHi,
As you have selected the option for the init package, the system is not allowing the same for the Delta as the same will be applicable for Delta as well.
The other place where you can set is at the Manage of the target or at the monitor (RSMO) level. If once set its fine for that target.
You dont need to worry.
Are you facing any issue for the data loads which are with 0 records at present due to the status? Do let us know.
THanks
Murali -
How to use traffic lights concept in alv in webdynpro abap
Hai ,
How to use traffic lights concept for alv in webdynpro abap. If possible give me some code.Hi Ravi,
You can create ICON to get traffic light.
Go through this step by step.. in this example
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true
Please go through this...
Re: Display ICON in the ALV table column
Re: Image in ALV
cheers,
Kris. -
Hi!
I am searching for an traffic light overview for workorders. For example if some of them are overdue, Partially confirmed,.. I am interested in the system status and I want to assign the traffic lights accordingly to the system status. I use transactions "iw38 or iw39"
In our SAP System it isn't possible to activate the "monitor". Is this depended on the customizing?
THX for your help.
br patrickDo anybody know something about such Traffic lights? br patrick
-
Display Exception as Traffic Lights
Dear All,
is there any possibility to display exceptions per default as traffic lights in a BI 7.0 Web Application? We want to use the same functionality a local status exception is offering. Setting EXCEPTION_RENDERING to Symbol offers the arrow as symbol. Also the command set_exception in the is using the trend exception symbol as default.
Thanks for any input
jensHi ,
You can display the traffic light symbols for exceptions in BI 7.0.
You need to create a Status Exception at WAD level by using List of Exceptions Web Item.
Then you save the executed result as Queryview.
Use this Queryview as the DataProvider for the Analysis Web Item.
Hope this helps. -
Traffic Lights For Hyperlinks panel not showing. INDESIGN.
My traffic lights for the hyperlinks panels are not showing and I have the latest version of CC. How do I show/hide them? Thanks
First, make sure you have InDesign CC 9.2.1. Choose InDesign > About InDesign (Mac) or Help > About InDesign (Windows).
If you're up-to-date, try restoring your preferences:
Trash, Replace, Reset, or Restore the application Preferences -
ALV Traffic lights for subtotal
Hi,
How can I use "traffic lights" that depend on the subtotals of one field in one ALV?
Thank youHi Nuno Barros,
Please check the below link... it will guide you to fulfill your requirement..
http://wiki.sdn.sap.com/wiki/display/Snippets/ALVGRIDCOMPLETEEXAMPLEWITHTOOLBARBUTTONSUSINGCLASS.
http://www.erpgenie.com/sap/abap/controls/alvgrid.htm
http://wiki.sdn.sap.com/wiki/display/Snippets/TrafficlightsinALVdisplay
Or check this code...you may find it easy
*& Declaration part
TYPES: BEGIN OF t_lights,
matnr TYPE mard-matnr,
werks TYPE mard-werks,
lgort TYPE mard-lgort,
lights TYPE char4, "Variable is needs to be declared with length 4 char
END OF t_lights.
DATA: w_lights TYPE t_lights.
DATA: i_lights TYPE STANDARD TABLE OF t_lights.
FORM get_data .
SELECT matnr werks lgort
FROM mard
INTO CORRESPONDING FIELDS OF TABLE i_lights UP TO 10 ROWS.
"Just pass 1=red or 2=yellow or 3=green to lights fields ( HERE YOU CAN CHECK FOR YOUR CONDITION AND ASSIGN LIGHTS ACCORDIGLY)
LOOP AT i_lights INTO w_lights .
IF sy-tabix BETWEEN 1 AND 3.
w_lights-lights = '1'.
ELSEIF sy-tabix BETWEEN 4 AND 7.
w_lights-lights = '2'.
ELSEIF sy-tabix BETWEEN 8 AND 10.
w_lights-lights = '3'.
ENDIF.
MODIFY i_lights FROM w_lights INDEX sy-tabix TRANSPORTING lights.
ENDLOOP.
ENDFORM. " get_data
*& Form build_layout
FORM build_layout .
w_layout-colwidth_optimize = 'X'.
w_layout-zebra = 'X'.
w_layout-lights_fieldname = 'LIGHTS'.
w_layout-lights_tabname = 'I_LIGHTS'.
w_layout-lights_rollname = 'Hits'.
ENDFORM. " build_layout
*& Form list_display
FORM list_display .
DATA:
l_program TYPE sy-repid.
l_program = sy-repid.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = l_program
is_layout = w_layout
it_fieldcat = i_fieldcat
TABLES
t_outtab = i_lights
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " list_display
Thanks
Shankar -
Red Traffic Light for Datasources Delta Queues
Hi all,
Our R/3 source system is connected to our BW system.
Between the two systems we operated standard logistics datasources delta queues, by filling the setup tables and performing an initial update.
The datasources delta queues were created and used over a month (according to the RSA7 they all marked with green traffic light).
Now, we copied the R/3 source system to a new one.
After doing so, all the delta queues traffic light turned to be red.
Does anyone can provide a technical explanation/reason to this problem?
Also, is there something we could do to "save" this delta queue, without needed to delete it and create it all over again?
Thanks ahead,
Shani BashkinHi Eddo,
Thanks for your help.
Yes, I'm using the same system name and system id. The new copied system has the same name and id like the productive system.
Also, it seems like the RFC connection to the BW is lost.
The question is why?
Thanks,
Shani Bashkin -
Tooltip for Traffic light when mouse over
Hallo experts,
I have a column in a ALV with trafic light(red, yelloy and green) . I woild like to have a tooltip text
when the user move the mose over the traffic light per row.
I use the class cl_salv_table to output my ALV.
When is rood: article is not more in warehouse
when is yellow: quantity article very low, must be ordered
when is green: article enough in warehouse.
Thanks in advance,
Edited by: Bassydiallo on Feb 25, 2011 3:59 PMThanks all of you , here the code I use. It works I get the right traffic light on the column class_light, I just need
the tooltip on it.
I tried to insert your code in my program but i don't get the tooltip. Can some body tell me where I have to inser the code above ?
Thanks in advance for your help.
REPORT z_prg_alv00_article.
TYPE-POOLS: icon.
TYPE-POOLS: col.
TYPES: BEGIN OF tt_article.
INCLUDE STRUCTURE st_article.
TYPES: class_light TYPE n, " column traffic light
END OF tt_article.
DATA: gr_container TYPE REF TO cl_gui_custom_container.
DATA: gt_outtab TYPE TABLE OF tt_article,
gr_alv TYPE REF TO cl_salv_table,
ok_code LIKE sy-ucomm.
DATA: wa_tt_article LIKE LINE OF gt_outtab.
CALL SCREEN 100.
Module before output of screen 100
MODULE LOAD_DATA_ALV100 OUTPUT
MODULE load_data_alv100 OUTPUT.
SELECT * FROM tab_article INTO CORRESPONDING FIELDS OF TABLE gt_outtab
LOOP at gt_outtab INTO wa_article.
settings the color
IF wa_article-qty < 100.
wa_article-class_light = '1'.
ELSEIF wa_article-qty > 100 AND wa_article-qty < 300.
wa_wa_article-class_light = '2'.
ELSE.
wa_sflight-class_light = '3'.
ENDIF.
MODIFY gt_outtab FROM wa_article TRANSPORTING class_light.
ENDLOOP.
IF gr_container IS INITIAL.
"Creating the container-instance with reference gr_cont
CREATE OBJECT gr_container
EXPORTING
container_name = 'CONT_AREA'
EXCEPTIONS
OTHERS = 1.
CALL METHOD cl_salv_table=>factory
EXPORTING
r_container = gr_container
container_name = 'CONT_AREA'
IMPORTING
r_salv_table = gr_alv
CHANGING
t_table = gt_outtab.
"display alv
gr_alv->display( ).
ELSE.
gr_alv->refresh( ).
ENDIF.
ENDMODULE. "LOAD_DATA_ALV100 OUTPUT -
Set Traffic Light for Individual Cell in a Row
Hi,
I have 3 columns in one Row and I need to show 3 COLUMNS using Traffic lights one with Red, Yellow, Green. How it is possible in SET_TABLE_FOR_FIRST_DISPLAY.
Regards,
Deepthi.I got the answer:
Go to SE11 Tcode and ICON and press F7.
Look for F4 help of field ID.
See code below:
if ls_fieldcatalog-fieldname eq 'LIGHT1'
or ls_fieldcatalog-fieldname eq 'LIGHT2'
or ls_fieldcatalog-fieldname eq 'LIGHT3'.
ls_fieldcatalog-ICON = 'X'.
endif.
BEGIN OF t_final,
bukrs TYPE bukrs, "Company Code
gjahr TYPE gjahr, "Fiscal Year
light1 TYPE ICON_D,
light2 TYPE ICON_D,
light3 TYPE ICON_D,
end of t_final.
data: i_final type standard table of t_final.
LOOP AT i_anlp_temp INTO w_anlp.
IF sy-tabix = 1.
w_final-bukrs = w_anlp-bukrs.
w_final-gjahr = w_anlp-gjahr.
ENDIF.
CASE w_anlp-peraf.
WHEN '001'.
w_final-peraf1 = w_anlp-peraf.
w_final-light1 = '@0A@'. "RED.
WHEN '002'.
w_final-peraf2 = w_anlp-peraf.
w_final-light2 = '@09@'. "Yellow.
WHEN '003'.
w_final-peraf3 = w_anlp-peraf.
w_final-light3 = '@08@'. "Green.
endcase.
append w_final to i_final.
endloop, -
' Define traffic light' for MRP
hi
I am using the collective list to view planning results using 'define traffic light'. I am able to define traffic light by user profile. I want to define traffic light by the MRP controller. Is there a way I can do it?
thanks a lotHi,
The SAP help talks about creation of evaluation profile & defining limits via MRP controllers in customizing, but i am unable to find the same. If anyone can point where to do this setup, it would be quite helpful.
Quoting from SAP help:
● You have created an evaluation profile in Customizing for Material Requirements Planning and defined the limit values for the ranges of coverage there.
● You have assigned the evaluation profile to an MRP group.
● You have assigned the evaluation profile to the plant parameters.
I guess your need can be met via BADI - MD_SET_TRAFFIC_LIGHTS_DS in the enhancement spot ES_MD_MRP_EVALUATIONS
Hope the above helps.
Regards,
Vivek
Added
Just found this SAP Note - 947983, this helps in defining the Evaluation profile.
Edited by: Vivek on May 19, 2009 9:52 AM -
IW38 Traffic Light for Custom Date field
Hi Experts,
I am trying use the Reference Field for Monitor. It has got 1. Priority, 2. Order/Start/End, 3. Scheduled Start/End.
We have created a custom date field as Original start/Finish dates. I want to create traffic light based on this date.
Can you please help me where and how to do this configuration. I have already searched the forum. But no help found.
Thanks,
PanneerPanneer,
You can use Enhancement Spot ES_EAM_LIST_ENHANCEMENTS for this purpose (see SE18)
PeteA -
Exception groups & Traffic Lights for MRP run shortage quantities
Hi Guys:
How to define Traffic Lights and Exception groups in MD04/Mdo5 transaction?
Or any literature available ?
Thanks
kodaliKodali,
You can customize the exception message and grouping in configuration.
Please follow below mentioned path and do necessary config.
SPRO -> Production --> Materials Requirement Planning --> Evaluation --> Exception Messages.
Regards,
Himanshu -
Table for Traffic Light Colour of an Infopackage
Hi Experts,
I want to develop an ABAP program wich lists me infocubes with a concrete traffic light colour when no data foud (to avoid having anyone with yellow).
The problem is that I cannot find the table where this information is stored and how to link it with the infopackage name.
Thank you all.
Artur.Check Table RSREQDONE, it gives the status of the data transfer with the traffic sign.
Please go through this link, it gives much clear idea of data load status thru ABAP.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e00a69e2-08c2-2b10-b894-abab48719955]
Hope this helps,
/Pradeep -
Displaying traffic light in a web template.
Hi BW Experts,
Here goes my problem:
In my project I added a new row into a Bex Query which is working fine. But when i executed the same query in the web templates in the WAD i got a formatting error while displaying. There are particular fields for each row in which values itself are not displayed instead it displays either red or green traffic light if values are decreasing or increasing respectively. Originally there were 5 rows, when i added a new row between the 4th and the 5th row, the 6th row displayed values but no traffic light while the newly added 5th row fields displayed traffic lights. when I tried to swap 5th and 6th row, same problem ocurred again in the 6th row.
Thanks in advance.Hari,
Use SE24 and enter the class name to modify it.
See the help link for more details:
http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/frameset.htm
Raj.
Maybe you are looking for
-
Format external drive for Mac and PC?
Can I format an external Drive to have 1 partition for OS X and another for my wife to use with her PC? thanks! ray
-
How to disbale the Purchase order item texts (Material PO text)
Hi, In ME22n, i want to disable texts for material at item level . i tried thru SPRO , but it disables header and item level texts. How can i achieve this ? Thanx,
-
Hooking up to the camera?
Can aperture be hooked up to your camera while on a photoshoot? So Aperture becomes the lcd screen when it comes to viewing your images? MacBook Pro Mac OS X (10.4.7)
-
Does anybody have experience with mail recipient validation against LDAP for instance ? Any hints and suggestions appreciated. Thanks
-
Private appointments in bridge calendar
There doesn't seem to be any way to mark an appointment as private in the bridge calendar. The option exists on the Blackberry, but not on the Playbook. This is a useful feature when other people have access to your calendar (BES, Exchange server).