Live running without waiting for results

Hello world

I have a problem that I can't imagine would be unique and may have an obvious solution that I forget.  in any case, I have a class that contains an array of a separate allows class calling device.  in the class of device, there is a (vi) method to do a test of performance on the device.  What I need to do, it's stress all devices at the same time by running permanently the performance of tests on them at the same time, but not more than one on each device.  essentially I'd like dynamically create the threads running on each device performance test.  I have problems to find a solution in labview for this.  Someone at - it good ideas?

If there was a way to tunnel the array in a for loop and just get the method will, but then that would mean each iteration start at a time that cannot be made.

I have attached a picture of what it would look like if I had 4 go but I'd like to be able to dynamically generate each Exec.vi system running simultaneously.  I hope I described this problem pretty well!

Thanks in advance

Brent Schenk

BrentSchenk wrote:

Hello world

... What I need to do, it's stress all devices at the same time by running permanently the performance of tests on them at the same time, but not more than one on each device.  essentially I'd like dynamically create the threads running on each device performance test.  I have problems to find a solution in labview for this.  Someone at - it good ideas?...

Here's a screenshot of a VI I use to launch a case of a VI without blocking the main program (each call to execute CAN Loop.vi starts the CAN Loop.vi and returns).  In my case, each VI manages a station on a testbed of N-station and communicates with the rest of the program through the queues and events.  It is a little overkill for many applications, but it works well in mine, where the number of stations is determined at runtime, and each station can be controlled by another class (also defined at run time and configurable when the program is running!).

Mark Moss

Electrical Validation engineer

GHSP

Tags: NI Software

Similar Questions

  • Enter the following command without waiting for the current order to fill

    There is a switch to use that will enter a powercli command without waiting for the command to finish running. Can someone please tell me what the switch is?

    Hello, MNKrantz

    You can use the parameter - RunAsync for several of the PowerCLI cmdlets.  This will cause continuous execution to the next statement once the command is run.

    You can view the cmdlets are supported the RunAsync parameter using the parameter - ParameterName to Get-Command, which was introduced in v3 PowerShell.  So, for example, to search for these Core PSSnapin cmdlets:

    Get-Command -ParameterName RunAsync -Module VMware.VimAutomation.Core
    

    Enjoy.

  • Script queue CM with output for allocated, running and waiting for process

    Hi all

    Could someone please share the script which gives the result as below:

    Script Manager simultaneous tail with output for allocated, running and waiting for processes within a single script.

    Thanks for your time!

    Kind regards

    You can find a lot of scripts in the old nets.

    Simultaneous treatment - what are the meanings of the Codes in the STATUS_CODE and the PHASE_CODE FND_CONCURRENT_REQUESTS Table columns? [152209.1 ID]
    ANALYZEPENDING. SQL - analyze all applications pending [134033.1 ID]

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+query&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+time&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+STATUS_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+PHASE_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    Thank you
    Hussein

  • stop a loop without waiting for its next iteration

    I wonder if there is a good way, or still anyway to stop a while loop without waiting for its next iteration. Lets say you have a timer in the loop so he iterates once evey 10 seconds, and then you have to wait 10 seconds for him to stop after you press a stop button that could be a problem.

    Thank you!


  • Adobe Application Manager already running. Wait for it to finish - HOW FIX?

    I tried to uninstall/cleaner tool for AAM... nothing helps. Tried to uninstall older versions of Photoshop to replace it with the new CC (which now I have no. installed PHOTOSHOP and I need!) and nothing has worked. I continually get "handler Application already running. Please wait for it to complete, and then try again. (11)"

    Help, please

    Hi sheakucenski,

    What operating system are you using. In the case of Win 7 Please activate the hidden administrator account: http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista / and try to install.

    Please let us know if it worked.

    Kind regards

    Romit Sinha

  • Without waiting for the OTA

    If we decide to Flash our Nexus 6 Marshmallow that cancels any warranty?

    Yep, unlock the bootloader, it's how the warranty ends up empty. Simply use adb and you should be fine.

  • How to run a framework for a flat structure of sequence for a period of time?

    Hello

    I have a loop timed measuring a resistance value every 2 seconds. I wish I had this loop timed to run for a period of time (5 minutes). The timed loop itself is placed within a flat sequence so I fear that the measure will be taken once and the next picture will begin to run, without wait 2 seconds for a successive reading (and not a loop for, say, 5 minutes).

    In other words, is it possible to have a flat sequence structure frame run for awhile before moving on to the next image?

    Thanks for your help!

    JFK_Aero

    All code within a sequence must complete before can execute the following image.  So until your timed loop is configured correctly, the following image may not run until your 5 minutes is up (N = 5 minutes / 2 s/measure = 150 steps).

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • Wait for the entry?

    Hi all

    I need to create a custom entry dialog box and the problem I encountered is that I can't figure out how to make my request to wait for the user to complete the entries in the framework. When you use a JDialog or JOptionPane application will stop running and wait for the dialog box to close. My question is how to do something similar without using a JOptionPane or JDialog. I just can't figure out how to get the same effect by using a JFrame or other component. I know I could just use a JDialog or JOptionPane to get input from the user, but I'm just curious to know how I can stop running and wait for the entry as the JOptionPane allows you to do, but without using a JOptionPane or JDialog.

    Thank you for your help :)
    Nathan D.

    -----
    : Edit:
    I forgot to mention that the reason main I avoids JDialogs is I need the entry dialog box to be internal not external application I use mode exclusive fullscreen. And a JOptionPane does not allow me to add the other components too it such as JLabels and other GUI. I just need a way to get input from a component or internal window and wait for the entry as a JOptionPane or JDialog.
    -----

    A NBS are:

    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    
    
    
    public class Main extends JFrame implements ActionListener {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            new Main();
        }
    
    
        JButton go = new JButton("Show custom input dialog");
    
        public Main() {
            setSize(300,150);
            setLocationRelativeTo(null);
            setLayout(new FlowLayout());
            go.addActionListener(this);
            add(go);
            setVisible(true);
        }
    
        public void actionPerformed(ActionEvent e) {
            InputDialog d = new InputDialog();
    
            /*
             * Here is the problem it is necessary that I create a
             * custom input dialog to allow further modifications however
             * i'm not sure how to wait for the user to enter text and press
             * continue in that input dialog. Unlike JOptionPane the code executes
             * before the user presses continue. My question is how do I wait for the user
             * to press continue in the InputDialog before I call d.getString(); without making the main
             * application unresponsive.
             */
    
            String returnValue = d.getString();
            System.out.println("return value "+returnValue); //will be null or empty because application doesn't wait for input.
        }
    
    
        class InputDialog extends JFrame implements ActionListener {
            JTextField f = new JTextField();
            JButton go = new JButton("Continue");
    
            public InputDialog() {
                setTitle("Custom Input Dialog");
                setSize(300,150);
                setLocationRelativeTo(null);
                setLayout(new FlowLayout());
                f.setPreferredSize(new Dimension(100,25));
                go.addActionListener(this);
                add(f);
                add(go);
                setVisible(true);
            }
    
            public void actionPerformed(ActionEvent e) {
    
            }
    
            public String getString() {
                return f.getText();
            }
        }
    }
    Published by: neptune692 on January 3, 2011 13:25

    neptune692 wrote:
    .. a JOptionPane does not allow me to add the other components too it such as JLabels and other GUI. ..

    Of course, it does!

    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    
    public class DumbNameMain extends JFrame implements ActionListener {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            new DumbNameMain();
        }
    
        JButton go = new JButton("Show custom input dialog");
    
        public DumbNameMain() {
            setSize(300,150);
            setLocationRelativeTo(null);
            setLayout(new FlowLayout());
            go.addActionListener(this);
            add(go);
            setVisible(true);
        }
    
        public void actionPerformed(ActionEvent e) {
            JTextField f = new JTextField(10);
            JButton go = new JButton("Continue");
            JPanel p = new JPanel(new FlowLayout());
            p.add(f);
            p.add(go);
            JOptionPane.showMessageDialog( this, p );
    
            String returnValue = f.getText();
            System.out.println("return value "+returnValue);
        }
    }
    
  • waiting for buffer busy

    Hello


    I'm huge buffer expects busy events on my database and its increase

    This is the result of query on my database (9.2.0.8.0)

    SQL > select event, total_waits from v$ system_event where a test of ("free buffer waits", "buffer expects busy")
    2;

    TOTAL_WAITS EVENT
    ---------------------------------------------------------------- -----------
    buffer without waiting for 118
    buffer busy waits 12827


    Also my "space segment management' is on 'auto' on tablespaces

    Please someone let me know even if the 'segment of space management' is on 'auto', why expect busy buffer is so huge

    And how to reduce this event

    Concerning

    Hello

    Here's how to find the cause of a busy wait buffer:

    http://www.DBA-Oracle.com/art_builder_bbw.htm

    I hope this helps...

    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: the definitive reference".
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Flies to fruit like a banana.

  • I have to wait for photoshop 14 to stop the generation of thumbnails before moving on to another catalog?

    I am converting all my Photoshop 14 catalogues.  I have to wait for the system to stop the generation of thumbnails in a catalogue before moving on to another catalog?

    Waltard wrote:

    I am converting all my Photoshop 14 catalogues. I have to wait for the system to stop the generation of thumbnails in a catalogue before moving on to another catalog?

    No, you can switch to another catalog without waiting for the generation of thumbnails. The process will resume the next time that you open this catalog.

  • Don't want to wait for the results of the query

    Hello world.

    I'm on CF 7 and SQL Server 2005.

    I call a procedure stored through my CF code. The process can potentially take an hour or two to run. I would like the proc run on SQL Server, but don't want my page of FC wait for the results before we continue, I want just the code that follows the proc will run while the database server do it is something silently in the background. Is it possible to do this?

    Thank you

    You could try to create a job that calls your long-term stored procedure. In the CF, call the sp_start_job system stored procedure to start your work. I think sp_start_job returns at the start of the task, not when the work is complete, but you will need to test this.

    http://msdn.Microsoft.com/en-us/library/ms186757 (SQL.90) .aspx

  • Run VI GUI, don't wait for it

    Hello. I'm using Labview 9.03f. I have a loop of events that deals with the interaction of the user. When the user selects a menu item, I want to run a VI that has its own UI, but I don't want to wait until she finishes execution (to be held until all of the interaction of the user). Basically, I want the new VI floating on top, but the user to always be able to interact with the main GUI.

    I'm looking by using a reference of VI with the RunVI method, and wait until a parameter set to false. What is the right way to go on this subject?

    Thank you!

    psssttt...

    Ref call will wait for the vi calng to return.

    You can use the invoke node ctrl val.set method to pass data before starting.

    Ben

    PS I made this capture for the granddaughter of screen but I never thought there ' All so with me giving license might help.

  • Still waiting for a response to my response of the extra info about "unable to access xbox live because of parental e-mail account misspelled".

    Because the e-mail account was misspelled, we try to get the reset password sent to the email address is not possible, the address it is not mine. I need to reset the e-mail address of origin to the correct spelling, but, so far have not received a response from (ANN N) after that I have repied to his request for more info on 17 Oct. Please don't leave me hanging, bad customer service.

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you with this problem.

    You may need to wait for the response of the person concerned or if there is a problem with the Xbox Live account, check out the following link:

    http://support.Xbox.com/en-us/billing-and-subscriptions/account-management/change-Xbox-Live-account-info

    or

    http://www.Xbox.com/en-us/forums

    If the problem is with windows live account you can report the query in the following forum:

    http://answers.Microsoft.com/en-us/windowslive

    Hope this information helps. If you have any questions do not hesitate to answer, we would be happy to help.

  • 1 program still needs to be closed: (waiting for) task host window's task to stop execution and stopping tasks that are already running

    While the closure of the pc I got the message: "1 program still needs to be closed: (pending of) task host window's task to stop execution and stop tasks that are already running".but there is no program running and I have to force it to close.how to solve?

    Hello

    Thank you for contacting Microsoft Community.
    Windows, then closing, checks all open programs. If there is, it sends a request for the program to close and wait until the program closes safely, to avoid any loss of data. But, Windows is waiting for some specified
    If you are sure that none of the programs are obviously open, you can try the following steps:
    Press Windows key + r, Type regedit and pres enter. If UAC prompts, click Yes. Go to HKEY_LOCAL_MACHINE-> expand System-> expand CurrentControlSet-> click on command (exapnd no do this). When you click (or select) control, you can see WaitToKillServiceTimeout. Double-click it to change the value. Set the value to 500 or less than that. Click Ok, and then close the registry editor. Now, restart the PC. If the problem persists, stop and try again and check.
    Be careful with registry access as incorrect values or remove the unknown keys can prevent Windows to start and it will fix it.
    Response if the issue is not resolved.

Maybe you are looking for

  • Download iTunes single episode problem

    Hello I watched the first episode of a series and deleted from iPad after use. I selected second episode to download but iTunes is trying to download two episodes and do not suspend or remove the download if the first episode... I don't have enough s

  • The Windows Installer are not available

    Error message:"Failed to start the installer of windows on the local computer. "ERROR 3: the system cannot find the path specified." How can I fix this hole without losing any software or use the recovery disc.Using windows XP on a 3000 satellite.

  • Blue Screen of Death, suspected by the my video driver has experienced.

    I need someone to help analyze the dump file and see what is the problem.  I was do BSOD for the last few months because of my video card which has been replaced by the warranty. It was fine until now I've known one another BSOD and don't know if the

  • Overview of Microsoft! windows 95 osr2

    Hello, my name is Artur and I have a few questions. 1. what was the story with free full game called "Microsoft hover" which was included in win95 osr2 retail discs? 2 - is microsoft still the owner of the copyright for this game? 2.1 if the fact, I

  • Card memory corrupted on Bold 9700 blackBerry Smartphones

    my memory card has been corrupted on my bold 9700, Ive lost my movies and music. Podcasts, music, videos, and photos all have an exclamation mark next to them in my files section. Same thing when its plugged into a computer. All the movies, music and