How to exit from whileloop with Timing Delay
Hello;
How to exit from forwhile with timing wait (10s) before finish 10s by stop botem;
exemple ; first impulsion to start a while loop with 10 s wait ,before finsh a 10s second impulsion to stop the while loop; in labview 2010
best regrds
Forza Juventus
Show us the code you currently have. Just repeating your specification word-for-word is not going to help us to understand you problem.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
How to exit from a WebDynpro ABAP application and open another url
Hi Friends,
How to exit from a WebDynpro ABAP application and open another url like (www.yahoo.com) in the same window of the WD4 application on click of a Button?
Regards,
XavierHi,
First of all you should create outbound plug in the window you are trying to exit with plufg type "Exit"
Then create method handler in the view with this code
data lo_view_cntr type ref to if_wd_view_controller.
data lo_win_cntr type ref to if_wd_window_controller.
data: l_parameter_list type wdr_event_parameter_list,
l_parameter type wdr_event_parameter,
l_val type ref to data,
l_val_url type REF TO data.
field-symbols: <fs> type any,
<fs_url> type any.
lo_view_cntr = wd_this->wd_get_api( ).
lo_win_cntr = lo_view_cntr->get_embedding_window_ctlr( ).
CREATE DATA l_val type c.
CREATE DATA l_val_url type string.
ASSIGN l_val->* to <fs>.
ASSIGN l_val_url->* to <fs_url>.
<fs> = 'X'.
<fs_url> = 'http://your-link.com'.
l_parameter-name = 'URL'.
l_parameter-value = l_val_url.
INSERT l_parameter INTO TABLE l_parameter_list.
lo_win_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name = 'EXIT_PLUG'
parameters = l_parameter_list ).
You can easily change this logic to exit application instead of redirecting to the site
just changing to
l_parameter-name = 'CLOSE_WINDOW'. -
Exit from Director with error code
Hi all!
How can I exit from director with specifyed error code by
using lingo or JavaScript syntax?
I want to catch its error code in batch file for example to
do something special.
Sample batch file I want to use:
myprojector.exe
if %ERRORLEVEL% == 10 goto GO_TO_SOMETHING_WRONG
But now, by default director quit with error code 0.
Thanks in advancelis0x90 wrote:
> How can I exit from director with specifyed error code
by using lingo
> or JavaScript syntax?
>
> I want to catch its error code in batch file for example
to do
> something special.
> Sample batch file I want to use:
>
> myprojector.exe
> if %ERRORLEVEL% == 10 goto GO_TO_SOMETHING_WRONG
>
> But now, by default director quit with error code 0.
I don't know of any way to do that, but you could get the
projector to
create a (zero byte) file if there's an error and in the
batch file check
for the existence of that file. (Not forgetting to delete
that file, if it
exists, when the projector starts.)
Andrew -
How to exit from the button test in diagnostic mode
Hi,
I am having some trouble with my ipod 7th gen.
First my lightning cable wont be recognize. show the error Accesory incompatible.
I try to solve the problem cleaning the golden pins in the cable and in the ipod. Don't work
I enter in diagnostic mode in my ipod and I get stucked in the button counter test..
In the screen appear a mesage 'Please reset the unit to end'. I don't know how to reset the unit
I press any button and only increase the counter for every button.
First how acan exit from the button counter test and how can fix the issue with the lightning cableYour problem is that you are trapped inside an event case. It is not a good idea to run extended code inside event cases, else the event structure cannot service other events.
Why don't you use the outer loop for everything? Now things don't step on each others toes. What good is an event structure if it cannot react at all times???
Message Edited by altenbach on 07-25-2008 12:26 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
event_problemMOD.vi 17 KB -
How to exit from a loop on 2 different conditions
Hello Experts
I’m trying to write a procedure in which I’m taking PROVINCE as an input parameter. All the provinces are stores in a table. I’m using a cursor and rowtype variable to check the province. After I finds province I displays province and its code. Everything works fine expect when I don’t find the province. I’m not sure how to exit from loop if I don’t find the province. I already uses exit when condition. I was expecting else condition should work and should exit from the loop but it doesn’t. Can please somebody show me how to exit if I don’t find province in the table through cursor.
Here is my code
set serveroutput on
variable G_TAX varchar2(10)
CREATE OR REPLACE PROCEDURE p_create(i_state VARCHAR2)is
CURSOR cur_bb_tax is
select * from bb_tax;
bb_tax_details bb_tax%rowtype;
begin
if not cur_bb_tax%isopen then
open cur_bb_tax;
end if;
loop
fetch cur_bb_tax into bb_tax_details;
if (bb_tax_details.state = i_state) then
dbms_output.put_line(bb_tax_details.state || bb_tax_details.idstate);
end if;
exit when bb_tax_details.state = i_state;
end loop;
close cur_bb_tax;
exception
when others then
dbms_output.put_line(SQLERRM);
end;
Thanks in advanceHello,
Why don't you use dbms_output.Put_line and print output to find why logic is not able to execute? Maybe upper case/lower case/whitespace. *Also put your code between \ to preserve formatting*.
Regards -
loop at itab.
if <CONDITION>
<EXIT LOOP>
endif
endloop.
this ths condition , pz tel how to exit from loopHi
Loop
statements
EXIT
Endloop.
Will comes out of the loop.
Regards,
Sreeram Kumar.Madisetty -
How to exit from loop after 3 time
hi
how to exit from loop after 3 time
loop at itab.
<exit after 3 time>
endloop.
thanksHi,
You can check the value of SY_TABIX inside loop,
For Example:
Loop at itab.
if sy-tabix = 3.
Exit.
endif.
Endloop.
Hope it helps
Regrds
Mansi -
How to Exit from Session by executing program
How to Exit from Session by executing program
Hi,
Try the following
CALL the function module HLP_MODE_CREATE and pass '/nex' to tcode import parameter.
Regards,
Sesh
Message was edited by: Seshatalpasai Madala -
How to exit from recovery mode?
how to exit from recovery mode?
You could try a hard reset
- hold the home button and the sleep/wake button down at the same time
- the phone will turn off, when the apple logo appears release both buttons
More than likely after this you will still be in recovery mode. If so then you would need to restore the phone through itunes on a pc/mac.
Hope this helps -
HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true? If yes could u pls suggest me how to shutdown from user "SYSTEM/manager". Bcoz with this am warned that I dont have previleges.
Hello,
HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true?The ORA-00600 is an internal error it can be caused for instance by a Bug, a corruption, ... , and if someday you experience this kind of error, you should open a Service Request to My Oracle Support.
However, I've never heard that exiting sqlplus could cause this kind of error. Where did you get such information ?
how to shutdown from user "SYSTEM/manager". To shutdown the database you should be connected with the User SYS (as SYSDBA). You may use the following statement:
sqlplus /nolog
connect / as sysdba
shutdown immediate;
exitHope this help.
Best regards,
Jean-Valentin -
How to exit from the class execution process?
I am invoking an exe from my Java application using the Runtime.getRuntime().exec() method.
though the process is completed, the class is still running.
how do i exit from the class execution, but with the process still running??To sabre150 :
I am directly executing the command through the exec() method:
Runtime.getRuntime().exec("...../iexplore.exe");This way, the control is going to the opened IE window and only on closing it, my class is exiting.
Is there any other way where I can come out of the class, but ensure that the process which i run through the exec() method, is still running? -
How to exit from offline profile in Nokia 9300 com...
My phone is currently in offline mode. I can not exit offline mode from phone mode. The device mode (when I open phone covers is not working). If I press power button it said that "Offline profile is active". I tried hard reset with shift+ctrl+F but that does not work. Are there any way to exit from this mode and if not, how I can recover my data which is unfortunatelly not all on memory card?
Thanks.
Message Edited by zokila on 07-Jul-2008 02:53 PMHi,
First of all you should create outbound plug in the window you are trying to exit with plufg type "Exit"
Then create method handler in the view with this code
data lo_view_cntr type ref to if_wd_view_controller.
data lo_win_cntr type ref to if_wd_window_controller.
data: l_parameter_list type wdr_event_parameter_list,
l_parameter type wdr_event_parameter,
l_val type ref to data,
l_val_url type REF TO data.
field-symbols: <fs> type any,
<fs_url> type any.
lo_view_cntr = wd_this->wd_get_api( ).
lo_win_cntr = lo_view_cntr->get_embedding_window_ctlr( ).
CREATE DATA l_val type c.
CREATE DATA l_val_url type string.
ASSIGN l_val->* to <fs>.
ASSIGN l_val_url->* to <fs_url>.
<fs> = 'X'.
<fs_url> = 'http://your-link.com'.
l_parameter-name = 'URL'.
l_parameter-value = l_val_url.
INSERT l_parameter INTO TABLE l_parameter_list.
lo_win_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name = 'EXIT_PLUG'
parameters = l_parameter_list ).
You can easily change this logic to exit application instead of redirecting to the site
just changing to
l_parameter-name = 'CLOSE_WINDOW'. -
How to exit from an update Function Module
Hi Friends,
I am using an Update Function Module in my program.The Program also has various other logics implemented in it. The Update Function Module gets triggered only when it finds COMMIT WORK statement. Now, I want that when the FM gets triggered and inside it, sy-subrc <> 0 at any stage, it should exit the complete processing and come to my main screen.
I tried to use Exit, STOP commands in the FM, but they only make the processing to exit from the FM.
Please suggest what shud I do.
Helpful suggestions will be surely rewarded.
Thanks in advance.
Regards,
Himanshuhi hemansu,
after coming out from function module check value of sy-subrc
and
if sy-subrc ne 0
exit. or leave to screen 0 [module pool progarm] or stop.
endif.
if helpful reward some points.
with regards,
suresh babu aluri. -
How to exit from recovery mode iPad
Hello. I was trying to update my ipad 4 and it went to recovery mode and basically is locked. Cant' do anything with it. Does anybody knows how to exit recovery mode?
EXIT RECOVERY MODE
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. You must follow step 1 to step 4 VERY CLOSELY. -
How to exit from method if there is any Error message
Hi All,
I have one button (Retrieve) and on that button I am calling a method(OnRetrive) and in that method i am calling func module and in that i am getting some messages.
<b>Now If that FM gives Error message then i have to exit from that method without processing further code.</b>
How can i do this? Help!!!
Expecting your reply ASAP.Use the RETURN statement. It will get out of your method.
Regards
Nithya
Maybe you are looking for
-
[b]Error during JSP page processing[/b]
hi , i'm mech. i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet .
-
How much RAM does FCP 6 recognize?
Hello, We have a 2 x 3GHz Dual Core Intel Xeon Mac Pro with 4 gig's of DDR2 FB DIMM ram. I've noticed that when I adjusted the setting in FCP 6 it wouldn't use more then 2 gigs of ram. I thought it could use up to 4 gigs or ram. Am I wrong or is ther
-
Can I automatically generate a PDF each time I close an InDesign document?
Hello. Is there any way that I can automatically generate a PDF each time I close an InDesign document? I'd appreciate any help with this at all. Thanks a lot.
-
Getting my ipod tomorrow have question though.
As the subject says im gettin my ipod video tomorrow, the 30gb one. Anyone have any tips for an ipod newbie that I should do in preparation for it? So far I have downloaded itunes and imported my music library to it, thats about it though. Thanks in
-
Iphoto..version 4.0.3
I need to rebuild the library as my wife went in and erased some photos improperly now some photos will not open although you can see them on the organization page..also when i go to download from new digital camera it takes 15 minutes...Can someone