Running in parallel two copies of the Subvi

I try to create the kind of life test for a series of mechanical switches 1 way. In this test, I need to measure insertion loss of my devices under test during a manoeuvre repetitiously them. I use switch 4-way USB controlled to test 4 was FORCED at the same time. I built a Sub VI going to the path chosen (S-1, S-2, S-3 and S-4) and take a measurement. It works very well.

Now, I add another switch 4-way to test another 4 HAD. And I have a plan to add up to 8 switches to 4-channels in parallel. This works. But I was surprised that the measurement time has doubled. And I realized that my second switch & soul Sub VI cannot be called from a parallel loop, while, at the same time with the first. He waits until one finishes its routine.

Ok. I've saved a copy of the Sub VI and call it from a second loop. And now it works in parallel, two 4-way switch are turning like crazy. But I think I just do something else stupid.

Please take a look at the example. I removed all features of the device, replacing them with delays and random numbers. Can you suggest some sort of start the same Sub VI in parallel without creating multiple copies?

Learn more about the screw reentrant I think, it's going to do what you want.  The setting can be found in the VI properties > run.

Lynn

Tags: NI Software

Similar Questions

  • I have two copies of the Installer.app?

    I have two copies of the Installer.app?  When checking my monitor of activity because of the slowness, I have two applications installer which seem to be hogging cpu and memory.

    Can I safely remove a... do something corrupt that they are constantly running?

    Howdy Celeste Jones,

    Thank you for using communities Support from Apple!

    From your post it seems that you have a few cases of Installer.app running on your Mac.  You have installed previously, and you still see the installers running on your Dock?  If so, simply complete the installation process or to leave the installers.  If not, then let's go and just restart your computer in safe mode and restart normally to see if the problem persists:

    Sierra macOS: start in safe mode

    Take care.

  • Why is that it creates two copies in the sent folder?

    Whenever I have email, it creates two copies in the sent folder. I use outlook / hotmail / live.

    https://support.Mozilla.org/en-us/questions/1056919

  • How can I open now two copies of the same page

    As a shortcut to business I cut and paste a copy of one web page to another copy. The new feature does not allow two copies of the same page. Is there a way to force the two copies?

    • Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
    • Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
    • Open the URL in a new tab using Alt + Enter on the highlighted entry.
    • Open the URL in the current tab by using shift + enter on the highlighted entry.
  • When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I use Vista 32 bit. I started to see this problem when I recently copy photos from an SD card.

    When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I saw hidden files enabled in folder options.

    Any help is appreciated.

    Hey guys... I found the answer... Problem is with the software vaio content analyzer that comes with the vaio...

    It just search for Vaio Content Analyzer (parameters) and deselect

    Video analysis
    image analysis
    analysis of the music

    I went looking for this crazy thing... used almost all types of online scan, and finally to find that it is caused by an internal software only...
    anyway thanks to all... Hope it helps someone in the future :)
  • How to have two copies of the same program to install on WIndows 7 and on the desktop

    «"" "Dear help forum:»»"»

    I am new to WIndows 7, but just have not found the right research
    How to get my answer from Microsoft/Windows 7 basic knowledge.

    I have two programs. There are two versions of the same program
    ('LACE') One is the version 4.0.1, and the other is Version 4.0.6.

    I wish I had one old continue to run (using a purchased
    Product key which I own and have for years).

    BUT there is a problem. The old and new programs are the
    same 'setup.exe '? Download 124 MB each. There are small but
    many corrections and changes in the new program, I am told, but
    they do not have add up to change the size in MB of the program.

    SO I'm in trouble when I'm trying to download the program, as
    It seems to be in WIndows 7, a small program that removes the
    size of the incoming download and informed me that I can not download
    a new that I have already one of this program is installed in the
    computer!

    He asks me if I want to "Uninstall" the previous version and then replace
    It is with a new one. I can't cancel the old version because she had a
    Product key that was told to me in the instructions that he could
    only be used 'once', to uninstall the program won't help
    me as I won't be able to continue to use this program once again, as the
    registration code could only be used once.

    I have a purchased code new, different program version 4.0.6.

    Is this a problem with WIndows 7? I already called/sent the
    company and they have no help and no solution for how these two programs
    are to run on the same computer at the same time.

    Can you please help me and provide instructions on how I load
    This program of "LACE" most recent second size 124 MB and even download
    name in the computer (replacing the automated duplicate program
    prevention installer routine), so I can have and use two copies of
    This program on the computer at the same time?

    During the creation of this issue, I had an idea of what will happen if I created a
    second Downloaded Programs folder to contain the program setup.exe inside
    and try the operation or the opening of this place. He did not like
    the program checked the computer for the first copies of the
    LACE and identified, he was always present in the computer and asked
    Once again if I wanted to remove it.

    Thank you very much!

    If this program is not designed for the execution of the two copies on a single installation of Windows, then you simply can't do.  No ifs, ANDS or goals.  You have never been able to do with any version of Windows, and apparently the creators of this program thinks there is no reason to do so, then you'll just have to choose one version or another.  I'm not familiar with the lace, but more recent versions programs usually include most of the older features while adding the most recent.  They sometimes make us learn new ways of doing things that make us less happy, but I'm afraid that's life in the world of computing.

    That said, I must mention that there may be alternatives that you might continue even if they are less obvious than what you suggested.  If you have the professional version or full edition of Windows, you can get XP mode free you can start Windows 7.  It normally happens in 15 to 30 seconds and you could install and run another version of your program under that.  If you do not either of these versions, you can invest in the Anytime Upgrade and do it available.  Upgrade Home Premium to professional is $ 90.

    The other alternative would be a dual-boot configuration where you could have two versions of Windows in separate partitions, so when you start your computer, you can select the one with the version of your program you want.  I think that the choice of the XP mode would be preferable because it would be so much easier to use, but these two options are available, if you want to continue.

    Good luck.

  • CP1025nw - print two copies to the laser

    Hello

    My HP CP1025nw Laser works well with one exception: I still got a weekly pdf file delivered to my Inbox mailbox and that specific pdf, print twice each week. I have no problem with any other file, pdf, or other, only this fact sheet 8: waste paper and toner to have twice.

    I'm very advanced user, but did not find any setting that may be the reason. Of course, I checked Traoré ' copies of many times ' value = 1.

    This isn't an advertisement, the file of this source, reports economy: https://www.wellsfargo.com/com/research/economics/economic_commentary

    I'm in the United Kingdom then paper/EIA is A4 - the letter / LEGAL can format a problem?

    Thank you

    I found a solution for this that works for me. For Windows 7, it's should be similar on Vista or XP. 1. on the start menu, select devices and printers. 2. right click on the printer, and then select printer properties. 3. click on tab Ports 4. UNCHECK enable bidirectional support. 5. click on OK Please let me know if it works for you. (or not!)

  • Merge stmt tries to insert two copies while the clause is based on the index

    Hello

    I use a merge statement to insert the record in a table. The table has a unique index based on four columns. The merge statement matches on all four columns (a.column1 = b.column1 and a.column2 = b.column2... etc) in clause ONE. If a match is found then it does nothing if it is not found corresponding record is inserted.

    But for some reason, it attempts to insert duplicate and I'm getting exception violated a unique constraint.

    The database is huge and the source table contains more than 200,000 records.

    No idea how this can happen?

    How can it happen?

    Easily if there is a duplicate in the data you want to merge, keeping in mind that this is an operation based on a game with the two sets of data that are evaluated using the standard model consistency to the beginning of the query.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> DROP TABLE t1;
    
    Table dropped.
    
    SQL>
    SQL> CREATE TABLE t1
      2  (col1 NUMBER PRIMARY KEY);
    
    Table created.
    
    SQL>
    SQL> MERGE
      2  INTO  t1
      3  USING (SELECT 1 x
      4         FROM   DUAL
      5         UNION ALL
      6         SELECT 1
      7         FROM   DUAL) x
      8  ON    (x.x = t1.col1)
      9  WHEN NOT MATCHED THEN
     10         INSERT
     11         VALUES
     12         (      x.x);
    MERGE
    *
    ERROR at line 1:
    ORA-00001: unique constraint (ROS.SYS_C0088944) violated
    
    SQL> rollback;
    
    Rollback complete.
    
    SQL> MERGE
      2  INTO  t1
      3  USING (SELECT DISTINCT x
      4         FROM (
      5            SELECT  1 x
      6            FROM   DUAL
      7            UNION ALL
      8            SELECT 1
      9            FROM   DUAL)) x
     10  ON    (x.x = t1.col1)
     11  WHEN NOT MATCHED THEN
     12         INSERT
     13         VALUES
     14         (      x.x);
    
    1 row merged.
    
    SQL>
    

    Published by: DomBrooks on January 15, 2010 09:36

  • Used the same disk to install two copies of the Creative costume Design Standard 6 on 2 separate Macs?

    I bought the student edition Adobe Creative suit 5.5 standard design and I was told that there was a copy to 2 Macs. I've only used on one. I then send the 6 suit standard design Creative updated (not student worm). Does this mean that I can still use it on 2 Macs? There was only one disc for 5.5 and 6, just do you use the same disk to install on Mac?

    Yes, you use the same drive and serial number... The Adobe license allows 2 activations

    When you install the CS6 upgrade you will need to enter your previous serial number

  • Error 17500 two copies of the application Control Manager



  • Email sends two copies of e-mail to the recipient

    Original title: program compatibility Application Applications App Apps game games Legacy Crash crashes Hang hangs

    My email account send two copies of the same message every time I have send a message - that is to say whenever I have send a message, the recipient receives two copies of the same message. What should I do to solve this problem of e-mail "double"?

    This behavior is usually caused by an anti-virus program that has been integrated with your e-mail program.

    Uninstall your AV, reboot, reinstall the AV without the integration of messaging

  • How to operate the Subvi?

    Hello

    I use a VI instrument control and I used a Subvi to begin feeding after a certain point. I created a simple model of two-lane in the Subvi which includes just as an input error and mistake them as output connected to the respective terminals to VI main. The Subvi has 5 entries of order I made the default values so he will always perform with the values. These values act as an input for the power supply I'm controlling with the Subvi.

    Now when I run my VI it does not start the sub VI, it won't run the control values and gives 0 input to the PSU, so it won't work. I want that sub - VI to run when I run my hand VI. Am I missing something? Sub - VI works perfectly when I try to run it separately.

    That many things should be done when we connect all Subvi in primary VI.

    Thank you.

    LOCAL VARIABLES!

    Your problem is that you have what we call racing conditions.  Learn to think in data flow.  A function will run when it has all its entrances and will display its data when it is done running.  So the only variable local waiting to run?  NOTHING.  Thus, they work immediately, return the default data.

    The solution is quite simple, use instead the son.

  • hiding playback, ho multiple copies of the data?

    I'm trying to understand the functioning of the readings for a virtual machine that is reflected through 2 different ESXi:

    On VMware Virtual SAN 6.0 pdf design and Sizing Guide, I read:

    When there are multiple replicas of the Virtual SAN divided up to the caching of the data uniformly blocks between copies of the replica.

    In an another blog post, I read:

    VSAN always try to make sure he sends a reading given to the same replica so that the block gets put in cache only once in the cluster

    I understand that the 2 sentences are so... now very different, I do not understand how the placement of the data cached reading really. works.

    How does the read cache?

    An example of TFT = 1.

    In this case, there are two copies of the data.

    Based on the offset we read on the VMDK, we will that is read from the first VMDK/copy data, or the second copy/VMDK data.

    This block is then cached in the matte layer on the same disk group as we read the block.

    So each block is cached only once, in the disk group where the block is read and not cached in two disk groups.

    You can extrapolate this output for FTT = 2 and FTT = 3.

    HTH

    Cormac

  • How to activate a purchased standalone Lightroom 6 when I already have two copies of Lightroom active CC.

    I have two copies of the CC installed Lightroom and works OK. I bought a separate stand-alone copy of Lightroom 6 for a laptop. When I try to install, the installer says I can't because I have two copies installed through CC. Is the solution to install the stand-alone copy with my login disabled CC, use a different user name, etc.. ?

    You must install the version independent one using a different Adobe ID.  Create a new for her.

    Adobe Photoshop Lightroom Help | Serialize Lightroom trial to activate like Lightroom 6 CC

  • You need to pass arguments to the Sub - VI which runs in parallel to the main vi.

    Please help me.

    I can pass arguments to a subvi using "call-by-reference-node" but the sub - vi will not work in parallel.  I can also run my sub - vi in parallel using "invoke the node", but then cannot pass arguments.  I can't understand how to merge these two concepts.

    When I open the reference VI, I specify the strict type, using call-by-reference-node.  When I use call node, I don't specify the type.  It seems that specifying the type strict guard screw run in parallel, but also seems necessary to pass arguments.

    I apologize for my absence of a deeper understanding of this and appreciate any help you can give me.

    Chris

    You must invoke 'Ctrl Val.Set' node.

Maybe you are looking for

  • Not knowing about update, I deleted firefox and lost my favorites very important, is anyway for me to get back them?

    Hi, I deleted Firefox today because he gave me problems after installation of the new copy, I transferred all bookmarks in Safari, thinking it would just add to the already saved bookmarks, but all my favorites have disappeared. I have several import

  • CTRL + F search tool broken?

    The Find bar (ctrl + f) seems to be broken. I'll get something which lies directly on the page that I can see on the page, but he claims, there is no result found. I tried already many works patches people claim (check if case-sensitive is selected [

  • Firefox hangs very often after the upgrade to 36 on Mac OS

    I have Mac OS X 10.6.8. I've recently updated to Firefox 36.0.1. Since the update Firefox crashes on most news and other sites I frequent. Everything that can be done to solve this problem?

  • glaDOS

    After a power outage, my internet wouldn't work.  When I open Airport utility it showed 2 apple Airport time capsule connected.  One was my Airport, the other was named glaDOS and the Visual was a former model.  The only way to get any wifi is to put

  • Network error pop up

    I got a pop - up on 03/02/15, which was a "network error" pop up.  The message was, 'Windows has detected an IP address conflict.  Another computer on the network has the same IP address as this computer.  Contact your network administrator for help