How to make the exchange of data between 2 whole loop real-time

Hello
I have 2 while loop
the 1st loop includes data acquisition program
the 2nd loop includes control program
--------------------------------------------------------------------------------------------------------------
My question is how do the exchange of data between 2 whole loop real-time

--------------------------------------------------------------------------------------------------------------
I tried with the variable and direct wiring between the 2 local while loop
It does not work (there is a delay)


Tags: NI Software

Similar Questions

  • How to make the difference in percentage between two matrices?

    Hello everyone, I just want to ask how to make the difference in percentage between two binary matrices. This is to compare two images converted to matrices in LabView. Thank you.

    Well, in the current image interesting pixels are zero in the reference image. Here is a small example that would take all the zero 100% pixel, then look at the pixels of same in the other image to see how are always 0.

    Modify if needed.

  • How to make the default end date

    Hi friends,

    I need like

    Planted in the page (/ oracle/apps/by/self-service/absence/webui/AbsenceCreatePG)

    We have message choice field (type of absence). In this user can select type of leave-> hadj/sick/maternity leave.

    and

    We have categorized start date.  In this user will give start date.

    and

    We filed to end date end date must here be missed.

    After having these two values the end date should be missed, having the corresponding calculation. According to the type of the leave is

    If Hajj leave selected... .end date should be start date + 21 days

    If the sick leave selected... .end date should be the date of departure + 1 days

    If the selected maternity leave... .end date should be start date + 60 days

    For other types of date field leaves .end should be entrable only.

    How to get there. Help, please.

    Let me know for any clarification.

    Thank you

    Aravinda.

    I FOUND THE SOLUTION

    If a need for this type of req., try this

    ' public void processRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    {

    super.processRequest (oapagecontext, oawebbean);

    OAMessageDateFieldBean oamessagedatefieldbean = (OAMessageDateFieldBean) oawebbean.findIndexedChildRecursive ("HrAbsenceStartDate");

    oamessagedatefieldbean.getHelper () .setFireActionForSubmit (oamessagedatefieldbean, "HrAbsenceStartDate", null, null, true, true);

    }

    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    {

    super.processFormRequest (oapagecontext, oawebbean);

    OAApplicationModule am = oapagecontext.getApplicationModule (oawebbean);

    OAViewObject vo = (OAViewObject) am.findViewObject ("AbsenceVO");

    String sHrAbsenceType = oapagecontext.getParameter("HrAbsenceType").toString ();

    OAException message = new OAException ("HrAbsenceType is" + sHrAbsenceType, OAException.INFORMATION);

    oapagecontext.putDialogMessage (message);

    String s = oapagecontext.getParameter ("event");

    If ("HrAbsenceStartDate". Equals (oapagecontext. GetParameter (EVENT_PARAM)).  "absenceTypeChange".equals (s)) / / ' | HrAbsenceType".equals (oapagecontext.getParameter (EVENT_PARAM)))

    {

    If (oapagecontext. GetParameter ("HrAbsenceType")! null = &! » ». Equals (oapagecontext. GetParameter ("HrAbsenceType")))

    {

    If (sHrAbsenceType.Equals("61") | sHrAbsenceType.equals("62") | sHrAbsenceType.equals("65") | sHrAbsenceType.equals("1070") | sHrAbsenceType.equals("66") | sHrAbsenceType.equals("67") | sHrAbsenceType.equals("2069"))

    {

    vo.getCurrentRow (.setAttribute("EndDate",""));

    }

    on the other

    {

    If (oapagecontext.getParameter ("HrAbsenceStartDate")! = null &!) » ». Equals (oapagecontext. GetParameter ("HrAbsenceStartDate")))

    {

    days int = 0;

    If (sHrAbsenceType! = null & sHrAbsenceType.equals("63"))

    {

    days = 20;

    }

    ElseIf (sHrAbsenceType! = null & sHrAbsenceType.equals("1069"))

    {

    days = 0;

    }

    ElseIf (sHrAbsenceType! = null & sHrAbsenceType.equals("64"))

    {

    days = 55;

    }

    String sStartDate = oapagecontext.getParameter("HrAbsenceStartDate").toString ();

    If (null! = sStartDate &!) "". Equals (sStartDate)) / / & oapagecontext! = null)

    {

    SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");

    Calendar c = Calendar.GetInstance ();

    String finDate = null;

    Date sdate = new Date();

    Date udate = new Date();

    Try

    {

    sdate = sdf.parse (sStartDate);

    java.util.Date utilDate = (java.util.Date) sdate;

    java.sql.Date sqlDate = new java.sql.Date (utilDate.getTime ());

    oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date (sqlDate);

    jboDate.addJulianDays(days,0);

    vo.getCurrentRow () .setAttribute ("EndDate", jboDate);

    }

    catch (ParseException exception) e

    {

    throw new OAException ("xxxxxx... » + e) ;

    }

    }

    }

    }

    }

    }

    }

    }

  • How to make the transition to digital in 10g

    Hi all


    We have 10g database of primary and standby, I have never worked before sleep, customer wants me start switch, can you please let me know how to make the transition to digital in 10g.


    Thank you very much.

    It's the way I'm following passage in the
    ------------------------------------------------------------

    (1) check that there is no active users connected to databases.
    (2) select message from v$ dataguard_status;
    (3) select protection_mode from database v$.

    Step 1 check if it is possible to perform a failover.

    SQL > select database_role, db_unique_name, SWITCHOVER_STATUS, v database name $;

    DATABASE_ROLE DB_UNIQUE_NAME SWITCHOVER_STATUS NAME
    ---------------- ------------------------------ -------------------- ---------
    PRIMARY OFMSREGT_SIM UNAUTHORIZED OFMSREGT

    SQL >

    If you get NO allow status for SWITCHOVER_STATUS, verify that the standby database is connectivity.

    If the SWITCHOVER_STATUS column displays ACTIVE SESSIONS, you can successfully achieve a failover by adding the WITH clause LOGOFF to the statement ALTER DATABASE COMMETTRE through PHYSICAL standby

    Step 2 open the passage on the primary database.

    SQL > SHUTDOWN IMMEDIATE;
    SQL > STARTUP MOUNT;
    SQL > ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICAL;

    Step 4, check the transition state in the view V$ DATABASE.

    SQL > SELECT SWITCHOVER_STATUS FROM V$ DATABASE;
    SWITCHOVER_STATUS
    -----------------
    TO_PRIMARY
    1 selected line

    Step 5 place yourself in the role of physical standby database target the main role.

    You can switch a standby database physical role ensures the primary role
    When the standby database instance is mounted mode redo apply or open
    for read-only access

    SQL > ALTER DATABASE COMMIT AT THE GRADE CROSSING;

    Step 6 complete the transition of the database ensures the main role.

    If the physical standby database has not been opened in read-only mode since the
    the last time it was started, run the SQL ALTER DATABASE OPEN to open
    the new primary database:

    SQL > ALTER DATABASE OPEN;

    If the physical database was opened read only since the last
    time it was launched, you must close the database waiting for target and restart:

    SQL > SHUTDOWN IMMEDIATE;
    SQL > STARTUP;

    Note: There is no need to close and restart other bases before (not involved in the digital switchover) who are online at the time of the failover. These databases on hold will continue to
    function normally once the failover is completed.

    Step 7 if necessary, restart log apply services on standby databases.
    He must deliver the command FRO repeat apply as:
    SQL > change database recovery managed standby database disconnect from the session.
    or
    And stop repeating applies to give
    SQL > alter database recover managed standby database cancel;

    Step 3 Shut down and restart the former primary instance.

    SQL > SELECT OPEN_MODE FROM V$ DATABASE;

    Step 9 check the synchronization between the primary and standby:

    Primary
    SQL > select thread #, max(sequence#) in v$ archived_log where archived = 'YES' group by thread #;

    Sleep mode
    SQL > select thread #, max(sequence#) in v$ archived_log in case of application = 'YES' group by thread #;

    Stop the former primary instance and restart and mount the database:

    Sense of SWITCHOVER_STATUS
    --------------------------------------------
    The column SWITCHOVER_STATUS of v$ database can have the following values:

    NOT ALLOWED - this is a database of pending and the primary database has
    not been first switched, or it's a back-end database and there is no data pending.

    ACTIVE SESSIONS - indicates that there are active sessions of SQL attached to
    the primary database or emergency that must be disconnected before the
    failover operation is allowed.

    Transition to THE PENDING - this is a database of relief and the primary database
    application of the digital switchover has been received but untreated.

    LATENT pass - the digital switchover has been waiting mode, but has not completed
    and I went back to the primary database.

    Primary SCHOOL - this is a database of pending, any sessions active, i.e.
    allows to switch to a primary database.

    In STANDBY mode - this is a primary database, any sessions active, i.e.
    allows to switch to a standby database.

    RECOVERY NEEDED - this is a database of pending that has not received the
    application of the digital switchover.

  • How to make the window disappears after minimize instead of becoming the output of the image?

    How to make the window disappears after minimize instead of becoming the output of the image?

    Hi Sam,

    This issue may have caused due to infection by the virus or system files missing or damaged or because of the corruption of the user profiles. I would like to know some information about this problem so that we can help you further.

    1. have you made changes on the computer before this problem?

    2. do you get any error code or error message while starting?

    3. have you checked if the problem occurs on a different user account?

    I would suggest trying the following methods and check if it works for you.

    Method 1:

    Run the Microsoft Safety Scanner and check if there is any threat of viruses found.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. During these 10 days, it will remove all the files infected by the virus and records. I suggest you create a backup of your data, and then install Microsoft Safety Scanner.

    Method 2:

    Run the System File Checker scan and check if it helps. This will help you to find and replace missing or damaged system files.

    See the following article from Microsoft Support to run the System File Checker.

    http://support.Microsoft.com/kb/929833/en-us

    Method 3:

    If you have not checked if the problem occurs on a different user account are not, then try again to create a new user account and check if the problem persists. This is to check if the problem is caused due to the corruption of user profiles or not.

    See the following article from Microsoft Help to create a new user account.

    http://Windows.Microsoft.com/en-us/Windows/create-user-account#create-user-account=Windows-7

    If the problem does not persist in the new user account, then try the steps in the following article from Microsoft Help to fix the damaged user profile.

    http://Windows.Microsoft.com/en-us/Windows/fix-corrupted-user-profile#1TC=Windows-7

    Please reply with the status of the issue so that we can better help you.

  • How to make the paper dirty after update links?

    Hello

    I use the code to update the link between resources by providing new URI below. The relationship between resources are updated, but the document is not become dirty.

    InterfacePtr < ICommand > updateCmd(CmdUtils::CreateCommand(kLinkResourceStateUpdateCmdBoss));)
    UpdateCmdData InterfacePtr < ILinkResourceStateUpdateCmdData > (updateCmd, UseDefaultIID());

    updateCmdData-> SetResource (REF.) GetUID());
    updateCmdData-> SetDatabase (REF.) GetDataBase());
    updateCmdData-> SetNotify (true);
    updateCmdData-> SetUpdateAction (ILinkResourceStateUpdateCmdData::kUpdateURI);
    updateCmdData-> SetURI (newURI);
    updateCmd-> SetUndoability (ICommand::kRegularUndo);
    CmdUtils::ProcessCommand (updateCmd);

    How to make the paper dirty after update resources?

    Thank you

    Use PreDirty(); before your change.

  • How to find the difference in date in years, months and days

    Hello
    I need to find the difference between 2 dates in the following way "years months days". "
    Please can help me, how can I achieve this.

    for example, in the scott schema emp table, I need to find the difference in date between sysdate and hiredate for an employee in the following way.

    12 years 7 months 4 days.

    Hello

    Please, see this post to AskTom [difference between 2 dates | http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:96012348060]. There is good information in this forum, for example you can also see this thread [calculation of years, months & days | http://forums.oracle.com/forums/thread.jspa?messageID=3115216�]

    Kind regards

    Published by: Walter Fernández on November 30, 2008 08:58 - adding another link

  • Can you please tell me how to make the thicker arrows on the Pages.

    Can you please tell me how to make the thicker arrows on the Pages. Thank you very much. There is something incredibly simple to do, but I, having a disconcerting brain, am totally unable to understand. Please please help me. Thank you

    < re-titled by host >

    Try here > Pages for Mac: Add and edit forms

  • How to make the top sites page appears when I open a new tab? Why have I not of "buttons" to pin a top site of the page tab?

    When I open a new tab, NO best sites don't show up... shows just a search engine box. I have Firefox 33.0. Why is there no 'pin' button when I opened a new page? How to make the top sites page appears when I open a new tab?

    Here is some additional information on the configuration of the new tab page:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked. Fixed?

    Some traps:

    If Firefox will not let you change this setting: you can have what is called SearchProtect on your system.

    Firefox if allows you to save your changes, but he doesn't know: one of your extensions may be the substitution of her. You can consult, disable and/or remove extensions on the addons page:

    "3-bar" menu button (or tools) > Add-ons > in the left column click on Extensions

    If the modification works during your session, but during the next startup is leads to: you could have a user.js file in your personal settings Firefox (your Firefox profile folder). This article describes how to track down and delete the file: How to fix preferences that will not save.

    A little luck?

  • I have associated my pencil to Apple for the iPad Pro; How to make the Widget of batteries displayed on the notification Center 'today '?

    I have associated my pencil to Apple for the iPad Pro; But how to make the Widget of batteries displayed on the notification Center 'today '?

    See if it works. Scroll to the bottom of the list in the display today. Tap on edit. Press on the + sign next to battery.

  • How to make the snow fall go far in the background that I've recently added a newsletter on your part?

    How to make the snow fall go far in the background that I've recently added a newsletter of mozilla to? It appears on things, I feel.

    I can't talk about it. What is an extension?

    You can disable or remove unwanted page extensions modules. Either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. If you don't it spot, perhaps in the appearance section?

  • How to make the text bigger in youtube! Cubs in youtube!

    I made the largest text where google search arrives! But when I go on youtube the text is much tinier and I 65 to cataract and I can't read the text at right! How to make the text bigger in youtube? Thank you very much! I tried everything, but nothing changes the size!

    When you view this page hit {Ctrl + 0} < is a zero number -to reset the zoom level for this area.

    https://support.Mozilla.com/en-us/KB/page+zoom

    If you move the scroll wheel, and are now the CTRL key, you can change the zoom level of the page that is viewed - both in & out.

  • When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    Have you checked the home page to make sure that if is not the vertical bar (|) symbols?

    See the following for a few suggestions:

  • How to make the text darker or bolder

    How to make the text darker or bolder in safari

    shutterbox-

    I'm with you.  Cataract surgery, it will take longer, and the thin, plugged in my humble OPINION, typeface they chose is really for less than 40 eyes.

    The same "BOLD" of the police system capacity would be so appreciated.

    There are 3rd party apps that can change system fonts, and I saw messages claiming success, but I'm a purist to try.

    Small fonts (to us) make it very painful to be here.  I just hope they realize that our needs must be met, as well.

  • S3000-514: how to make the secondary battery to unload everything first?

    Hello world!
    After I ve managed to charge my secondary battery on my laptop (see my previous announcement), I'm now getting another "strange" problem
    With my two batteries in and on the battery the first battery to discharge is the main battery - and not high school!
    This leads to a problem: when I want to change the secondary battery with my combo player, I'm not always have enough power in my battery.
    I have found how to make the battery discharging first of haven´t.
    Can anyone help?

    Hello

    Unfortunately, it is not for me and as much as I know it can not be changed. Probably the electronic power supply is configured to run on this path. Have you tried to remove the main battery and work by simply using secondary? What happens in this case?

Maybe you are looking for