How to create a vi with 5 led light up in a series motion and the direction can be change with one button ?
hello, i am new in labview and was given a task to create a vi like the stated above.. can anyone help me..??
mingquanteo wrote:
i hve my stop button inside the loop. but the program still will run even though i press the stop button. anything i did wrong.??
The stop button will only get read every 10 seconds because the code is trapped inside a long sequence structure. Most likely, the button gets read right at the beginning of each itereation, meaning that it can take up to 20 seconds for the program to actually stop.
Why did you change the mechanical action of the stop button.
You also have a very basic misunderstanding of local variables. It makes no sense to read a terminal and wire it to a local variable ot itself.
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
How to create editable table with one empty row ?
I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.
hammm, i do it this:
drop the VO on the page, select Table->ADF Table....
so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
in Data collection select the VO, in Select an action select CreateInsert
luck -
How to create a dimension with one level
I created a cube with some dimensions, that have only a level, and this kind of dimensions bring me some problems when I want to use "OracleBI Spreadsheet Add-In" to consult the cube.
The problem is that I canât create a hierarchy with only a level, so the dimensions are created without a hierarchy.
When I make a query in the âQuery Builderâ of "OracleBI Spreadsheet Add-In", I have some problems in the step of choosing what levels I want to select for a determined dimension, if that dimension is a dimension without a hierarchy.
What really happens is that, I can see all the values for the level in the left box, but I donât achieve to put one of these values on the right box. I can click in the next button, to jump to the next dimension, and all the process of selection for the other dimensions occurs without problems, except for the dimensions that havenât a hierarchy.
If I select only dimensions that have a hierarchy, all works perfectly, but if I select one or more dimensions that donât have a hierarchy, the following problems occur:
=> I canât select the values of the level that I want to see (only for dimensions that donât have a hierarchy)
=> When I click in âendâ button of the âQuery Builderâ, it doesnât finish and blocks.
The solution is to create a hierarchy, but I canât create a hierarchy with only a level. Is it possible to create a âtop levelâ without a source column in the dimension table? So I will have two levels, and with these two levels I can create a hierarchy that resolves the problem.
What is the solution for this problem?
Regards,
Rui TorresHow I can resolve my problem?
I donât want to use the CWM2 PL/SQL packages, because with these packages I only can create MOLAP cubes.
I only want to create ROLAP cubes, but I can't create a hierarchy with one level.
Why the "OracleBI Spreadsheet Add-In" doesnât work with dimensions, that not have hierarchies?
How I can resolve this BIG problem?
It is very URGENT!!!!
Regards,
Rui Torres -
How to create a contract with one supplier and two dealers?
Hi Gurus,
I have a contract with a supplier (eg. Apple), but the products and services are supplied by two dealers.
The supplier is the manufacturer and with whom the negotiation of prices is made.
The dealers are those who make the delivery of the products and services and who the payment is done.
How can I create a contract with these characteristics in SRM 7.0?
I don't want to create two contracts with same products and services for two suppliers (Dealer_1 and Dealer_2).
How can this be handled through business partner type "Vendor"?
In "Partner" section in "Header" --> "Basic data", I can only add 1 vendor.
The system is:
Component software: SRM_SERVER
Release: 700
Level: 0008
Support package: SAPKIBKV08
Thanks in advance and best regards,
Alonso ValenzuelaHi Wadim,
I have a similar requirement to create order lines in an existing contract with reference using BAPI_CUSTOMERCONTRACT_CHANGE. The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
Did you come across any such issue ? If yes , could you suggest the solution ?
Regards,
Venkat. -
Create three textfiles with one button click
Hello,
how is it possible to create three textfiles after a button click. I create a textfile with the following code in a page process:
owa_util.mime_header( 'application/octet', FALSE );
htp.p('Content-Disposition: attachment; filename="Client_' || to_char(sysdate,'YYYYYMMDD HH24MI') || '.LAS"');
owa_util.http_header_close;
htp.prn('test');
htmldb_application.g_unrecoverable_error := true;
For the first textfile a savedialog to save the file appears in the browser. But there is no dialog for the second and third file.
How is it possible to get the savedialog for the second and third file?
Does anyone can help?
Best regards,
HamburgerI solved it with javascript:
window.open("f?p=1:2","_blank");
window.open("f?p=1:3","_blank");
window.open("f?p=1:4","_blank");
and three onload processes on every site!
Greets -
How to create popup window with radio buttons and a input field
Hi Guys,
Can somebody give some directions to create a stand alone program to create a window popup with 2 radio button and an input field for getting text value. I need to update the text value in a custom table.
I will call this stand alone program from an user exit.
Please give me the guidance how go about it or please give any tutorial you have.
Thanks,
MiniHi,
There are multiple aspects of your requirements. So let's take them one at a time.
You can achieve it in the report program or you can use a combination of the both along.
You can create a standalone report program using the ABAP Editor (SE38). In the report program you can call the SAP Module pool program by CALL Screen <screen number>. And then in the module pool program you an create a subscreen and can handle the window popup with 2 radio button and an input field for getting the text.
For help - Module Pool programs you can search in ABAP Editor with DEMODYNPRO* and you will ge the entire demo code for all dialog related code.
For Report and other Module pool help you can have a look at the following:
http://help.sap.com/saphelp_nw70/helpdata/en/47/a1ff9b8d0c0986e10000000a42189c/frameset.htm
Hope this helps. Let me know if you need any more details.
Thanks,
Samantak. -
How to create an infotype with one of its field length eq 1000.??
hi ,
i need to create a infotype where one of the field length is 1000 characters how do i achieve this. if i give more than 255 in the PS structure it will not allow. then how do i get a text field of 1000 chars in the screen ( which is an input field)You can use those function calls even inside a PA Infotype.. they just invoke the text ediotr table control.. I gave you the reference of the PD infotype 1002 just for an idea. I don't think you will able to meet your 1000 char reqt without using the text editor.
~Suresh -
How to create a template with global buttons and copyright?
Hi,
We are trying to rebuild applications using 11G. In 10133, we use panelpage as the base of the template. With Jdev11g, I cannot find the panelpage component anymore. Then which component should we use and how to start with it? Is there any article talks about it?
Thanks,
AnnieHi Annie,
Indeed the panelPage layout component is not present in 11g. In the other hand, for 11g we have done a lot of improvements for templating JSF applications. You can find an article from Steve Muench here http://www.oracle.com/technology/oramag/oracle/08-jul/o48frame.html
Basically in order to replace your panelPage you can use a PanelGroupLayout's facets or the ones from the panelHeader.
Goodl Luck
Juan C. -
How download from multiple accounts with one button
What do I do to have multiple accounts checked and messages downloaded without opening the get mail dropdown. I used to just hit the get mail button.
I use this add-on:
https://addons.mozilla.org/en-US/thunderbird/addon/get-selected-mails/
which lets you define various sets of email accounts. Any of these sets can be defined as the default action.
There is also a GetAllMails add-on:
https://addons.mozilla.org/en-US/thunderbird/addon/get-all-mails/ -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
How to create excise invoice with reference thorugh credit memo
Hi All,
Please provide any solution for the following qurey:
How to create excise invoice with reference thorugh credit memoHi murali,
i am unable to understand your requirement i think there is no like this scenario requirement for any client
if any requirement is there kindly explain detail
cheers -
How to create a complaint with pre-decessor document Inovice?
Hello experts,
I need create a complaint with reference to a pre-decessor document type Invoice (apart from other types such as sales order and service order). Can someone enlighten me
1) how to create an invoice in IC Web Client and backend?
2) how to create a complaint with reference to this created invoice in IC Web client and backend?
Thanks a lot!!!Hi Easwar
Thanks a lot for answering the question.
Yes I do have CRM Billing documents. But the problem is
a) either the billing document doesn't have Transfer to Accounting status Transferred or
b) a transferred billing document, but all items have error "Unable to offset billing item 90003458 0000000060" etc.
Do you know
1) how I can make a billing document have "Transferred" status? Pressing "Transfer to Accounting" button in the billing document overview page will only set the status to "Being transferred". And it's always being tranfered.
2) What does the error "Unable to offset billing item ... "mean? How to get rid of them?
Thanks a lot! -
How to create a table with events in smartforms?
How to create a table with events view in smartforms?
It doesn't like general table with header, main area and footer.
for example:
in smartforms: LE_SHP_DELNOTE
table name is TABLEITEM(Delivery items table)Vel wrote:
I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
I'm using Oracle 10.2.0.4 version.
Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements. -
How to create shipment document with out inbound delivery document
Dear Friends
How to create shipment document with out outbound/inbound delivery document.
In my client scenario, there is no inbound delivery for normal purchases.
Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
Can we do shipment creation with reference to PO?
If it is possible, how it will be?
Please let it solve
With regards
LakshmikanthDear Sameer,
Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
For more information please go through this SAP help link
Note:- Shipment process need to be carry out for the deliveries before PGI.
http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
I hope this will help you,
Regards,
Murali. -
How to create a table with varied number of columns?
I am trying to create a balance table. The colunms should include years between the start year and end year the user will input at run time. The rows will be the customers with outstanding balance in those years.
If the user input years 2000 and 2002, the table should have columns 2000, 2001, 2002. But if the user input 2000 and 2001, the table will only have columns 2000 and 2001.
Can I do it? How? Thanka a lot.Why did you create a new thread for this?
How to create a table with varied number of columns?
Maybe you are looking for
-
HP LaserJet 1320 won't print in color (Win7 64 bit, new cartridge)
I can't get my HP Laserjet 1320 to print in color any more. Changed the cartridge. I'm on Windows 7, 64 bit, but the issue started before the upgrade to Win 7. I can't even find the selection for color vs black and white printing.
-
IBooks Author in footnote in pdf file
How to remove apple logo and iBooks Author in footnote of exported pdf file ? Thanks.
-
HT201210 Followed these steps, still doesn't work...
I connected my iPhone to iTunes to restore it, because it is in DFU-mode, but it keeps saying it wasn't eliglible for this build. Does anybody know what to do? Already followed the steps in apples guide at least a hundred times. I already know how t
-
Tabular Form Hide Row Selector for certain rows?
Hi, I was curious if it is possible to hide the row selector checkbox for certain items? For instance if a certain value is in a certain column in a row I want to hide the checkbox and in other cases show it... Thanks in advance!
-
How do you make the whites of the eyes and teeth brighter?
Would someone be able to offer advice on making the "whites" of the eyes and teeth brighter or whiter? Thanks!