How to start more than one program automatica​lly? [RT]

Normally you can build an application and let it start automatically on the PXI system. You have to put the file into c:\ni-rt\startup\
But how to start more than one application in a pre-defined sequence? Depending on the situation there are several programs to be started that run simultaneously.
I searched for help in the Development Library and the Forums but I didn't find an answer.
Thank you very much for your helpin advance! Have a nice day!
Christoph

Hi Christoph,
You can use VI Server on the real-time target to launch other VIs dynamically. Your startup executable could be a simple application that uses VI Server to start other VIs that run in parallel in a pre-defined sequence.
Here's an example that does something similiar.
Note that when you build the VI into an application, you must include all the VIs that are called by VI Server as dynamic VIs in the application builder.
-Gerardo

Similar Messages

  • How to start more than one dbconsole...urgent pl help

    Sirs,
    We are running Oracle 10g/red hat linux.
    We have two databases running A and B.
    if i run "emctl start dbconsole" only am able to access db A.
    can we have two OEM running?
    thanks and regards,
    kt

    Hi Bala,
    In order to run OEM for 2 database at the same time you need to install OEM grid control.
    Alternatively if you don't want to install OEM grid control, then you need to start dbconsole for each database .
    for eg : If you want to run for database A
    set the ORACLE_SID to database A and then start emctl start dbconsole.
    Same goes if you want to run for database B
    set the ORACLE_SID=B and then start emctl start dbconsole command.
    regds
    Lasily

  • Macbook Pro mid 2012 starting to lag when running more than one program.

    Firstly mah specs :
    Retina, Mid 2012
    2.3 GHz Intel Core i7
    8gb 1600 MHz DDR3
    NVIDIA GeForce GT 650M / Intel HD 4000
    OS X 10.8.4 (12E55)
    So, i bought this macbook about a year and a month ago and since i bought it everything has run fine, it has always been fast and smooth, until around 2 months ago when it started getting a little laggy in handling more than one program being open. Before this i was able to run Photoshop, Cinema 4D, Second Life and Chrome all at once and recieved no speed decrease what so ever. So i figured that it must just have been a little clogged up maybe, honestly wasnt sure but tried clearing cache, tried freeing up memory with some of the mac memory management tools from the App Store and non of these worked so in the end i backed up what was important and wiped the HD and re installed the OS. Annoyingly i am still having problems, if i have Photoshop open and i am surfing chrome it lags on scrolling web pages or loading links. If i have Second Life open i seem to lag with more than 3 players around me quite badly, even if i put Second Life onto its lowest Graphic Settings i still lag where as before i had this issue i could run it on its highest Graphic Settings and recieve little to no lag what so ever. This happens for most programs that used to run smoothly, if i now open Cinema 4D and try anything else.....the system slows down.
    I COULD take this to the apple store and genuis bar and ask them to have a look at it HOWEVER i am back at Uni in 2 weeks and i need the macbook for my studies as i am currently working on a summer project and need it for research, can any of you Mac Wonders out there suggest anything else for me to try. I have checked the HD and it says its not failing and is verified and found no issues with the partition.

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • How to pass more than one parameter

    Hello,
    This is my code.
    How to pass more than one parameter:
    SELECT:responsibility_name responsibility_name,
    LPAD(' ', 6*(LEVEL-1))
      || menu_entry.entry_sequence sequence ,
      LPAD(' ', 6*(LEVEL-1))
      || menu.user_menu_name SubMenu_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || func.user_function_name Function_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || menu_entry.prompt prompt
      ,menu.menu_id ,
      func.function_id
      --menu_entry.grant_flag Grant_Flag ,
      --DECODE( menu_entry.sub_menu_id , NULL, 'FUNCTION' , DECODE( menu_entry.function_id , NULL, 'SUBMENU' , 'BOTH') ) Type
    FROM fnd_menu_entries_vl menu_entry ,
      fnd_menus_tl menu ,
      fnd_form_functions_tl func
    WHERE menu_entry.sub_menu_id    = menu.menu_id(+)
    AND menu_entry.function_id      = func.function_id(+)
    AND MENU.LANGUAGE(+) = 'US'
    AND FUNC.LANGUAGE(+) = 'US'
    --AND func.user_function_name LIKE '%Primary Care Providers%'
    AND grant_flag                  = 'Y'
      START WITH menu_entry.menu_id =
      (SELECT menu2.menu_id
      FROM fnd_menus_tl menu2,apps.fnd_responsibility_vl resp
      WHERE menu2.menu_id=resp.menu_id
      and resp.responsibility_name= :responsibility_name
      --and menu2.user_menu_name = ('ATCO HR INQ USER'
      AND LANGUAGE = 'US'
      CONNECT BY MENU_ENTRY.MENU_ID = PRIOR MENU_ENTRY.SUB_MENU_ID
       and menu_entry.function_id not in (select func.function_id
                                       from --fnd_form_functions_vl fnc,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                      where func.function_id = exc.action_id
                                      and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
      and menu_entry.sub_menu_id  not in (select menu.menu_id
                                       from --fnd_menus_vl imn,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                       where menu.menu_id = exc.action_id
                                       and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
    ORDER SIBLINGS BY menu_entry.entry_sequence;
    Thank you for your help
    Shuishenming

    Hi, Ming,
    One way is to put the "parameters" in a table, and join to that table in your query.  If you make it a Global Temporary Table, then multiple sessions can run the query at the same time, and each can be seeing different responsibilities.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.  Since this problem involves parameters, you should give a couple of different sets of parameters, and the results you want from the same sample data for each set.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to transfer more than one files over internet at once?

    hi, friends,
    I just wonder how to transfer more than one files from one computer to another over internet at once. Not using ftp. pls any one give me the solution.

    This isn't hard to do, but it depends on your exact need. I did something very similar to let me upload all my mp3 file from home to work using sockets (don't have the code anymore..).
    What I did was implement a "pull" approach rather than a "push" approach. In other words, everytime my server got a request from a client, it served up the next file. It didn't know or care that the client was always the same.
    If you can set up a server to serve one file when a client attaches, then basically just put that code in a loop.
    If this doesn't meet you need, it might still be helpful as a starting point...

  • Problem with starting more than one SwingWorker

    Hello
    I wonder if anyone could tell me if there are known problems with starting more than one SwingWorker thread at once?
    In response to an action the user performs, I need to obtain several lists of things from the server. This includes a couple of server-calls, and I want to do the server calls in a thread outside the awt-event thread. So I start a couple of SwingWorker-threads. This works fine sometimes, but not always. Sometimes code in some of the SwingWorkers finished method does not update the ui. I can see that the correct calls are made, but the ui is still not updated correctly. The problem seems to be related to the sequence of when the different thread are finished. For instance, if the sequence is like this:
    SwingWorker1.construct
    SwingWorker2.construct
    SwingWorker1.finished
    SwingWorker2.finished
    Things go fine, but if the sequence is:
    SwingWorker1.construct
    SwingWorker1.finished
    SwingWorker2.construct
    SwingWorker2.finished
    the ui-updates in SwingWorker1.finished is not done correctly.
    Can anyone help me with this?

    This is the point:
    In one SwingWorker thread you have 1 construct method, and 1 finish method - which are both invoked once.
    Therefore you only have one opportunity to update the gui in that thread. This forces you to use many threads if you want regular updates, which I try to avoid.
    Therefore, the solution!
    Have a loop in the construct method that executes the algorithm accordingly, updating the gui accordingly at regular times, maintaining just the 1 thread - becomes easier and nicer for the programmer and the JVM.
    The finish method in this case is to update the gui when all iterations are finished.
    There is nothing wrong with this. Just because you have a finish method that is called in the event-dispatching thread doesn't mean that all your update code must be in there.
    What you MUST ensure is that ALL your update code is executed in the event-dispatching thread, that is the most important thing. After all, SwingWorker is just a helper class, not the gospel template of how to update a gui.

  • Macbook freezing when more than one program runs

    Hello all,
    My Macbook is about a year and a half old. A few weeks ago, it crashed catastrophically, and the geniuses at my local store replaced the logic board.
    Since getting it back, it's been crashing almost every time I try to run more than one program, such as itunes and safari. Ichat video or photobooth on their own cause it to freeze. The freezing process is gradual; first the program I'm looking at freezes, but I can navigate to other programs, but within a few minutes those freeze as well. During the freeze, the cursor moves (in beachball shape) but the screen is unresponsive and apple-option-escape has no effect; the only solution is to manually turn it off. It's also taking longer and longer to boot up. This happens when it's plugged in as well as on battery power. It's gotten to the point that I'm scared to do work on it, because I can't trust it to work long enough to save my data. What happened? Is this the result of my "fixed" logic board or something else? I am getting SO FRUSTRATED by how unreliable my macbook has become!!

    To rule out any 3rd part apps/additions are causing the problem, try booting into Safe Mode...
    http://docs.info.apple.com/article.html?artnum=107392
    Have you replaced/changed Ram lately? ...if so, try reverting back to the old.
    You could also ensure you've run your standard Maint. scripts (via Onyx, Cocktail etc...) and perhaps boot to the Install DVD to verify/repair the hard drive and its permissions. Booting to the Install DVD and running the Apple Hardware Test (hold 'D' on startup) could also reveal things.
    Failing all that, try resetting the SMC and Pram...
    http://docs.info.apple.com/article.html?artnum=303319
    http://docs.info.apple.com/article.html?artnum=2238
    To rule out a 'bad' hard drive you could either replace it physically or try booting from another Macbook via firewire...
    http://docs.info.apple.com/article.html?artnum=58583
    These are all a bunch of general procedures that the user can try to eliminate the issues - if nothing works, you'll need to make another trip to the genius bar.

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • How to select more than one slide on Keynote?

    Please, someone knows how to select more than one slide on keynote for IPad?

    // Allow selection to span one contiguous set of rows, visible columns, or block of cells
    table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
    // Allow multiple selections of rows, visible columns, or cell blocks
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • How to make more than one partition on Airport Time Capsule?

    how to make more than one partition on Airport Time Capsule?

    Only for the very brave......
    Open up the Time Capsule (voids the warranty)
    Pull the hard drive
    Place the hard drive in a separate enclosure
    Connect the enclosure directly to your Mac
    Use Disk Utility to partition the hard drive
    Reinstall the hard drive back in the Time Capsule
    For the rest of us.....
    The next best thing might be to set up one or more disk images on the Time Capsule, which will allow you reserve a given amount of space for each disk image.
    Open up Macintosh HD > Applications > Utilities > Disk Utility
    Click on the New Image tab
    Navigate to the Time Capsule
    Set up the disk image by naming it and specifying how much space you want to reserve

  • How to attach more than one picture on an email

    How to attach more than one picture on an email?

    Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
    http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg

  • How to sync more than one iphone to a macbook?..

    How to sync more than one iphone to a macbook?..

    Open itunes, connect iphone, select what you want to sync, sync
    Do the same for each iphone.

  • How to add more than one tabular region in a page?...

    How to add more than one tabular region in a page?
    i have a page, that page contain form and tabular region. when i trying to add another tabular region it showing error
    1 error has occurred
    Updatable SQL Query already exists on page 2. You can only add one updatable SQL query per page. Select a different page.
    but i have to add the tabular in that page.
    Is it possible?
    pls help...
    Thanks and regards,
    skud

    hi,
    even i am searching for some thing similar.
    i want to have 3 calendars in one page.
    getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
    pls help.

Maybe you are looking for

  • Font Management Problems - PLEASE HELP

    Hey, We are have six networked computers who are doing ads/layout/pagination for a newspaper. All six computers are new iMacs, all running InDesign CS3. We have a standard set of fonts that I saved on our server. On each iMac, I created a folder on t

  • After downloading photos from camera ... having problems sorting them ...

    Once I have downloaded an assortment of photos from my camera, I place them into separate folders according to the category I have named. In so doing, the photos are in the album, but remain in the import file which for some reason did not do so when

  • Meta data and data asset management

    I am looking for suggestions and or products that can support managing our footage. Our goal is for an editor to search for a clip using the  data entered in the “description” (metadata) field of clips and sub-clips  that have been logged in various

  • Multiple JRun connector clusters on the same servers?

    I am trying to set up 2 clusters of jrun instances on the same set of 4 servers. Let's call them 192.168.246.1, 192.168.246.2, 192.168.246.3, 192.168.246.4. Each jrun server has 2 instances, instance_[n]_a and instance_[n]_b, where [n] is the last bi

  • Upgrading four year old computer and Final Cut!

    I am about to upgrade my four year old Mac G5 (2X2G)to a new Mac Pro(2.8G). It arrives Monday!I bought the upgrade to FCS2 to replace my FCP 4.5. I'm confused about what I have to do. Do I need to load the old version of Final Cut 4.5 onto my new Mac