Vi or any function that closes the VI abruptly
Hi,
Is there any vi or function that stops running the main vi abruptly upon true.(inside the main vi there may be a subvi that has a while loop meaning it runs indefinitely)
only the main vi should be closed not the LabVIEW insatance.I'm using LabVIEW 2009
Message Edited by Robin Hood on 03-11-2010 06:50 AM
Regards
RobinHood
There are several options for this, depending on the overall architcture of your software. Most often, such a request makes sense in a producer/consumer environment.
So the task is to inform the producer and the consumer to shutdown. Even there you have different options:
a) The producer inits the shutdown. This is very easy since it follows the idea of produce/consumer.
b) If the consumer should init the shutdown, you have to include a "messaging mechanism" for the consumer in order to shutdown the producer. Custom user events come quite handy here....
c) You have some kind of watchdog for this feature. The watchdogs takes care about shutting down other parts of the application using user events or notifications. This can be used in producer/consumer as well as in other design patterns.
Sure, the shutdown is not really "immediate", but if there are certain security requirements involved (e.g. robotics emergency shutdown), you must not have a software shutdown working within non-deterministic systems! If you have such an environment, the only acceptable "softwaresolution" would work on FPGAs.......
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Similar Messages
-
Is there any function that returns the latest DDL statement
can anyone tell me if there is any FUNCTION that returns latest DDL statement performed in a schema.
OR
if there is any TABLE that will be populated with latest
DDL statement in schema.
THANK YOU.The table all_objects (and/or dba_objects) contains a column called last_ddl_time. Thus, a query like
scott@jcave > SELECT max(last_ddl_time)
2 FROM all_objects
3 WHERE owner = 'SCOTT';
MAX(LAST_DDL_TI
28-NOV-03will tell you the last time any object owned by SCOTT had DDL issued against it.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC -
Is there any function that output address by inputing the address no.?
Is there any function that accept an address number as input paramenter and return an address so that I don't need to build it myself?
Thanks!FU ADDRESS_INTO_PRINTFORM ADDRESS_TYPE
Text
Address type: 1,2,3 or ' '(default)
Description
There are three address types:
Address type '1': 'Normal' address (company or organization); the address structure used in most SAP applications as 'Address'.
Address type '2': Address of a person
Address type '3': Work address, usually the address of a contact person in a company
The default address type SPACE is treated as type '1' and is required for the upwards compatibility of the function module.
The interface parameters ADRSWA_IN and ADRSWA_OUT are only used in address type SPACE.
The other address types use:
ADDRESS_1 or ADDRESS_2 or ADDRESS_3 for the attributes, and
SENDER_COUNTRY, RECEIVER_LANGUAGE, NUMBER_OF_LINES, STREET_HAS_PRIORITY and LINE_PRIORITY for control.
The parameters COUNTRY_NAME_IN_RECEIVER_LANGU, LANGUAGE_FOR_COUNTRY_NAME and NO_UPPER_CASE_FOR_CITY are address type-independent.
The address attributes can be read directly instead of being passed in the structures ADDRESS1/2/3, if the address is in the Central Address Management tables.
The Business Address Services keys must be passed instead of the structures ADDRESS1/2/3:
Address type 1: ADDRESS_NUMBER
Address type 2: ADDRESS_NUMBER and PERSON_NUMBER
Address type 3: ADDRESS_NUMBER and PERSON_NUMBER
The following parameters are used (Import) or filled (Export):
Address type 1
Import parameters:
ADDRESS_1
ADDRESS_TYPE
ADDRESS_NUMBER
SENDER_COUNTRY
RECEIVER_LANGUAGE
NUMBER_OF_LINES
STREET_HAS_PRIORITY
LINE_PRIORITY
COUNTRY_NAME_IN_RECEIVER_LANGU
LANGUAGE_FOR_COUNTRY_NAME
NO_UPPER_CASE_FOR_CITY
Export parameters:
ADDRESS_PRINTFORM
ADDRESS_SHORT_FORM
ADDRESS_SHORT_FORM_S
ADDRESS_DATA_CARRIER
ADDRESS_DATA_CARRIER_0
NUMBER_OF_USED_LINES
NAME_IS_EMPTY
ADDRESS_NOT_FOUND
ADDRESS_PRINTFORM_TABLE
Address type 2
Import parameters:
ADDRESS_2
ADDRESS_TYPE
ADDRESS_NUMBER und PERSON_NUMBER
SENDER_COUNTRY
RECEIVER_LANGUAGE
NUMBER_OF_LINES
STREET_HAS_PRIORITY
LINE_PRIORITY
COUNTRY_NAME_IN_RECEIVER_LANGU
LANGUAGE_FOR_COUNTRY_NAME
NO_UPPER_CASE_FOR_CITY
Export parameters:
ADDRESS_PRINTFORM
ADDRESS_SHORT_FORM
ADDRESS_SHORT_FORM_S
ADDRESS_DATA_CARRIER
ADDRESS_DATA_CARRIER_0
NUMBER_OF_USED_LINES
NAME_IS_EMPTY
ADDRESS_NOT_FOUND
ADDRESS_PRINTFORM_TABLE
Address type 3
Import parameters:
ADDRESS_3
ADDRESS_TYPE
ADDRESS_NUMBER und PERSON_NUMBER
SENDER_COUNTRY
RECEIVER_LANGUAGE
NUMBER_OF_LINES
STREET_HAS_PRIORITY
LINE_PRIORITY
COUNTRY_NAME_IN_RECEIVER_LANGU
LANGUAGE_FOR_COUNTRY_NAME
NO_UPPER_CASE_FOR_CITY
Export parameters:
ADDRESS_PRINTFORM
ADDRESS_SHORT_FORM
ADDRESS_SHORT_FORM_S
ADDRESS_DATA_CARRIER
ADDRESS_DATA_CARRIER_0
NUMBER_OF_USED_LINES
NAME_IS_EMPTY
ADDRESS_NOT_FOUND
ADDRESS_PRINTFORM_TABLE
Address type SPACE (default value; the previous interface up to Release 3.0B):
Import parameters:
ADRSWA_IN
ADDRESS_TYPE
ADDRESS_NUMBER (only for special cases such as Japan)
COUNTRY_NAME_IN_RECEIVER_LANGU
LANGUAGE_FOR_COUNTRY_NAME
NO_UPPER_CASE_FOR_CITY
Export parameters:
ADRSWA_OUT
NAME_IS_EMPTY
ADDRESS_PRINTFORM_TABLE
The following parameters correspond to each other (on the left the individual parameter - on the right the fields in the old interface structures ADRSWA_IN and ADRSWA_OUT):
ADDRESS_NUMBER - no equivalent
PERSON_NUMBER - no equivalent
SENDER_COUNTRY - ADRSWA_IN-INLND
RECEIVER_LANGUAGE - ADRSWA_IN-SPRAS
NUMBER_OF_LINES - ADRSWA_IN-ANZZL
STREET_HAS_PRIORITY - ADRSWA_IN-WAREN
LINE_PRIORITY - ADRSWA_IN-PRIOR
COUNTRY_NAME_IN_RECEIVER_LANGU - no equivalent
LANGUAGE_FOR_COUNTRY_NAME - no equivalent
NO_UPPER_CASE_FOR_CITY - no equivalent
ADDRESS_SHORT_FORM - ADRSWA_OUT-LINEK
ADDRESS_SHORT_FORM_S - no equivalent
ADDRESS_DATA_CARRIER - ADRSWA_OUT-LINED
ADDRESS_DATA_CARRIER_0 - ADRSWA_OUT-LINED0
NUMBER_OF_USED_LINES - ADRSWA_OUT-ANZZL
NAME_IS_EMPTY - no equivalent
ADDRESS_NOT_FOUND - no equivalent
ADDRESS_PRINTFORM_TABLE - no equivalent
The parameters are described in the parameter documentation. -
Looking for a function that returns the currently opened document type
Dear SAP gurus
I have a user exit for transaction VA02. In VA02, when I click on button (Item details-configuration),
it launches a URL in a browser. I am asked to add to the URL, values like Document Type, Document Number
and Line Item Number.
I can get Document Number and Line Item Number from the presently opened Sales Document by using the standard Function 'CUCB_GET_OWNER_OF_CFG'.
However, I am not able get the value of Document Type. Is there any function that will give me
the value of the Document type of the present document that is open.
Any feedback/Suggestion will be highly appreciated.
Thanks
RamIf you're in a VA02 user exit, the document type should be in VBAK-AUART, if I remember the field name correctly. I would think that ANYWHERE in VA02, that field will be available to you.
If you want the text of the document type, forward navigate from vbak-auart data element to the domain and look at the values...there'll be a config (T) table (and you may need to add T to the end to get the associated text table) that describes the document type in your system's language, like:
E OR Order
or something like that... Sorry, in my installation, we don't use the logistics modules, so I'm writing from memory. -
Is there any function to change the width of froms'graphic ?
Hi All,
Is there any function to change the width of froms'graphic ?
May be like set***property.
Thanks,
ke xiongHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
Regard
Helios -
Is there any function that....
Hello friends
I wrote a ABAP program to print the PL (Part List). But while printing it jst takes 25 lines in the ckt refence else it don't print it. This is becoz of the reason that while printing it takes 1st ckt refence then 20 blank spaces then next ckt and so on. and it prints maximum of 500 characters. So if we have more than 25 lines we face problem. Is there any function that bypasses these 20 blank spaces and only consider the ckt refences. Plz help me in this. If possible sent me the code for it.
Thnx
RakhiThe table all_objects (and/or dba_objects) contains a column called last_ddl_time. Thus, a query like
scott@jcave > SELECT max(last_ddl_time)
2 FROM all_objects
3 WHERE owner = 'SCOTT';
MAX(LAST_DDL_TI
28-NOV-03will tell you the last time any object owned by SCOTT had DDL issued against it.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC -
Everytime I open my setting, safari or any app that needs the internet my ipad blinks out and does not allow me access.
1. Double-click the Home button to reveal the Task Bar
2. Hold the Safari app down for a second or two until you see the minus sign
3. Tap the minus sign to close Safari
4. Re-launch and test Safari -
Is there any function to get the name of the days?
Hi,
I'm using oracle 10.2.0.1.0
Is there any function to get the days of the week?
like i need to get sunday,monday,tuesday.....saturday.
I know i can use union and select the name from dual one by one.
But just want to know whether there is any other way.
I need to show the 7 days in a poplist in my form, thats the requirement
ThanksDavid_Aldridge wrote:
BluShadow wrote:
Note: you may want to include "fm" in the format mask, otherwise the name of the day is padded with spaces:
SQL> ed
Wrote file afiedt.buf
1 select replace(to_char(dt,'Day'),' ','*') as fmt1
2 ,length(to_char(dt,'Day')) as length_fmt1
3 ,replace(to_char(dt,'fmDay'),' ','*') as fmt2
4 ,length(to_char(dt,'fmDay')) as length_fmt2
5 from (select TRUNC(SYSDATE ,'DAY')+Level-1 dt
6 from dual
7 connect by Level<8
8* )
SQL> /
FMT1 LENGTH_FMT1 FMT2 LENGTH_FMT2
Monday*** 9 Monday 6
Tuesday** 9 Tuesday 7
Wednesday 9 Wednesday 9
Thursday* 9 Thursday 8
Friday*** 9 Friday 6
Saturday* 9 Saturday 8
Sunday*** 9 Sunday 6
7 rows selected.
SQL>
I think you should use a pl/sql function for this.
Nah ... just joking.
I'd be tempted to just use a union all statement to return the seven literals. People will look at it and know exactly what it does.Yeah, agreed, I was just demonstrating that the format mask of a to_char(..., 'Day') pads with spaces, which seems to have been missed in the above answers. ;) -
After doing my latest software update, my MacBook no longer recognizes any devices that require the USB port (mouse, iPod, etc.). I've restarted the computer and that didn't help. Any thoughts on what to try? (I've already restarted the computer.)
Try using the procedures in this article to eject the disk.
Best of luck. -
Is there any table that holds the history of BEx queries
Hi, I just wanted to know if there is any table that keeps the history of changes done to BEx queries?
HI,
Below tables helps you
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports
RSZCOMPDIR Directory of reporting components
RSZELTDIR Directory of the reporting component elements
RSZELTDIR Directory of the reporting component elements
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZELTPRIO Priorities with element collisions
RSZGLOBV Global Variables in Reporting
RSZELTATTR Attribute selection per dimension element
RSZCHANGES Change history of reporting components
RSZELTPROP Element properties (settings)
Regards,
rvc -
Create a Button that Closes the Presentation
All, I want a button on the last slide of my presentation that, when clicked, will close the browser window in which the presentation is playing. Will this involve Javascript? I tried some, but I probably screwed it up because it won't work. Some step-by-step guidance would be much appreciated, should someone have a few moments to guide me. Trying to make something more obvious than the X button on the playbar. Thanks so much!
Hi there
As explained in the Frequently Encountered Issues topic, closing the window is "iffy" and depends on different factors.
The simplest approach is to avoid JavaScript altogether. Just configure the project to close when it completes. Then if you want a button that closes the project, configure it to jump to the last slide. Time that last slide super short. The net result will be that the user clicks the button, it jumps to the last slide for a split second, then if the project is capable of closing, it closes!
Cheers... Rick
Helpful and Handy Links
Begin learning Captivate 5 moments from now! $29.95
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcererStone Blog
Captivate eBooks -
Any function to check the input value is integer?
May I know if there's any function to check the input value is integer in Form 4.5?
Thanks.just to add :) - (couldn't resist) :
create or replace function is_integer ( p_number in varchar2 ) return boolean is
v_return boolean := true;
v_number number;
begin
v_number := p_number;
if v_number != trunc(v_number) then
v_return := false;
end if;
return v_return;
exception
when others then
v_return := false;
return v_return;
end;
begin
if not is_integer(1.1) then
dbms_output.put_line('is not');
end if;
if is_integer(1) then
dbms_output.put_line('is');
end if;
if not is_integer('a') then
dbms_output.put_line('is not');
end if;
end; -
Is there any function to change the width of forms'graphic ?
Hi All,
Is there any function to change the width of forms'graphic ?
May be like set***property.
Thanks,
ke xiongNo. Graphics cannot be handled at runtime.
Francois -
Is there any function module getting the cpu type?
Is there any function module getting the cpu type?
I guess the database server...
I would like to get the SAP system cpu type as done in transaction st06 under system information.
Thanks. -
Any ideas as to why my iPhone 3GS wouldn't be receiving any messages or voicemails unless I turn my phone off? Also, it isn't able to open any apps that require the internet.. Help??
YOu can try resetting your network or a reboot. To reboot hold down the home/power button together until you see the apple logo and then release. Wait for the phone to boot back up, you won't lose any data.
Maybe you are looking for
-
Could someone please help me . . .
Hello, Could someone please tell me how to go about writing a java program that would be able to process a statement/sentence. How can I make it is so that when someone types in a statement/sentence and presses enter, the program calculates the total
-
Not letting me add files to me external hard drive
I literally just got home from the apple store because my mac was not recognizing the new maverick update, so they fixed that but now I cant add file to my external hard drive! why is that? there is a whole bunch of room on it still...... please hel
-
Location Service not Working with Weather Widget in Notification Center
Is ibt just me or is the weather widget not validating locations? I have restored iOSS 6.0.2 and toggles location services (enable/disable) for the app and removed it from the notification menu. It is working on both my iMac and MBP. Any suggestions?
-
Timeout for setting flag to TPETIME
tpgetrply() will wait for the reply of tpacall(). When waiting for that, timeout may happen. If tpgetrply fails and tperrno is set to TPETIME(unless flag is set to TPNOTIME), timeout will happen. My question is that if flag is not set, whether timeou
-
Report server's status is "coming up"
I installed the 9iAS Release 2, the report server can start, but sometimes hang after server reports process. Then I applied Core Patchsets 2542920 and NC 2790613, but I'm not able to start the reports server anymore. When I enter the OEM and choose