Using multi-threading: Setting a VI to be used for two sequences at same time

I have two sequences running as two different threads. This is supposed to be in parallel but both sequences access the same VI, then they're not executing as parallel because one sequence use this VI then liberates it and the other sequence use it, and so on consecutively until both sequences finish. This is not what I want.
How can I do to set this VI with any kind of property or something that can be accessed for both sequences at the same time?
Thanks,

Hi Margarita, you can set a VI to be reentrant (under VI Setup»Execution Options from TestStand, this function can also be used from LabVIEW) . Now depending on the king of VI you are using this can be something safe or can cause trouble. If the VI needs to keep information (for example a Functional Global Variable) or it is handling Hardware it can give you errors (for example trying to access the same DAQ at the same time from different task.
If you need more information can you tell us what does this VI does?
This Links might also be useful:
When I Run Parallel TestStand Executions That Call the Same VI, Why Don't the VIs Run in Parallel?
Differences Between Reentrant VIs (Preallocate), Reentrant VIs (Share Clones), VI Templates, and Dyn...
Best Regards
Benjamin C
Senior Systems Engineer // CLA // CLED // CTD

Similar Messages

  • Kodo-ds.xml: how to use for two database in same app server?

    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!

    You should deploy multiple kodo-ds.xml files (i.e. kodo-ds-oracle.xml).
    Kidwish wrote:
    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • How do i set up a second display for my iMac desktop?  I want to use both displays at the same time.

    how do i set up a second display for my iMac desktop?  I want to use both displays at the same time.  My iMac is the 24" Late 2006 model.  I recall that there is a cord for plugging in a second monitor, but I want to make sure that i can use both monitors side-by-side at the same time.  thank you.

    If the Display supports DVI, then you will need a > Mini-DVI to DVI Adapter and a DVI cable.
    If the Display only supports VGA, then you wiil need a > Mini DVI to VGA Adapter and a VGA cable.
    Noting that the (digital) DVI is far better than the (analog) VGA connection.
    Also see > Using Dual Displays on Mac OS X: The Experience

  • Satelitte C55-A Can't Use Keyboard and Mousepad at same time

    How do I change the settings so that I can use them both at the same time? I use them both for all my games, but I can't turn with my mouse pad when im walking with my keyboard keys (W,A,S,D). Does anyone know how to change this?
    I'm on Windows 8 btw.
    Thanks,
    -Evan

    There should be a setting for that in Mouse Properties, Evan. Something like "Disable touchpad while typing."
    Also, it's a "feature" of Windows 8.1.
       Button clicks for internal touchpads and pointing sticks are not responsive while or shortly after t...
    Windows 8.1 introduces a feature that is called accidental activation prevention (AAP). AAP helps ensure that unintended taps while you type on an integrated touchpad are suppressed. When this feature is enabled, taps and clicks from an integrated touchpad or pointing stick are suppressed for a while after the last keystroke..
    -Jerry

  • Hi,  If I have 1 license for creative cloud, will it possible to install in 2 computers (1 laptop and 1 desktop)?  When I am in the office I can use desktop and at home I can use laptop? At the same time I will be using only one devise. Will that be possi

    Hi,  If I have 1 license for creative cloud, will it possible to install in 2 computers (1 laptop and 1 desktop)?  When I am in the office I can use desktop and at home I can use laptop? At the same time I will be using only one devise. Will that be possible?  Thanks

    Yes. Yes. Yes.
    Mylenium

  • How to use multiple proxies at the same time?

    im planning to use multiple proxies at the same time on mac but i have no idea how to do it?!. i need help!thanks!

  • Why can't two people in our house use Microsoft Office at the same time?

    When my daughter tries to use Microsoft Office on her MacBook while my husband is using it on his MacBook Pro, she gets the following message: Microsoft Office 2008 cannot start because it is already in use. An Office program is being used by [my husband's name]. Your installation exceeds the number of installations permitted for the license agreement. Click more information to learn more about Microsoft Office licensing." When she clicks on that, the information is nonsensical and overwhelming. Why is it doing this?

    Protection.  Although I havent come across this myself, the license with Microsoft is obviouly for the use of one computer only. You have clearly violated the license by installing it on more than one machine, hence the problem.  This is how they make their money and they aren't alone.  But the rules of engagement mean that it is intended for one machine only and not two at the same time.  (Sadly).

  • Are the Tcodes which we use for work flow are same in ecc and crm

    Are the Tcodes which we use for work flow are same in ecc and crm

    Yes they are! the same enjoy!
    Regards
    Tatenda I H Chaibva!

  • Hello, Is there a package deal for 2 people to use Creative Cloud tat the same time? (Photoshop, DW, Illustrator, etc) we already have one subscriber.

    Hello, Is there a package deal for 2 people to use Creative Cloud tat the same time? (Photoshop, DW, Illustrator, etc) we already have one subscriber.

    Hi there
    You could either sign up for another individual subscription for the 2nd user, or consider a Teams account which is priced per user - Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Thanks
    Bev

  • HT5569 How do I print using a wireless printer when I'm using wifi for Internet at the same time

    I can't figure out how to print via wifi when I'm using wifi for Internet at the same time please help

    You need to have your printer & ipad connected to the same wifi router.  ( This would be my best guess. )
    Robert

  • Will my whole itunes library be transferred to my new computer with home sharing,in other words will I be able to use bothe computers at the same time ? And will I have two copies of my all my playlists?

    Will my whole itunes library be transferred to my new computer with home sharing,in other words will I be able to use bothe computers at the same time ? And will I have two copies of my all my playlists?

    Hi there J1750oe,
    You may find the information in the article below helpful.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Transferring playlists
    If you want not only your content but also your playlists to exist on your new computer, you will want to transfer a copy of all your playlists from your old computer. To do this, choose File > Library > Export Library on your old computer. Save the XML file that is created to your desktop.
    Send the playlists file to yourself as an e-mail attachment, use an external drive, or use file sharing to move the playlists file to your new computer. Once the file is on your new computer, open iTunes and choose File > Library > Import Playlist. The import process will remove any items from the playlists that you didn't share via Home Sharing.
    -Griff W. 

  • Can you stream video and use the computer at the same time on a mac mini with hdmi

    Can you steam video and use the computer at the same time? I have a mac mini with hdmi.

    Shouldn't be a problem, unless you want to view it in Full Screen Mode at the same time with only one display.

  • How to set up 2 separate iPhoto libraries for two users

    My wife and I have a macbook air, she being one user and me the other. We both have iphones and recently upgraded to the 5s. She had not ever openned itunes or iphoto on the computer as she used the it mainly for word processing, email and surfing the web. I, on the other hand, would play around in iphoto and ensure photo streaming was working and have a large itunes music collection.
    When I openned up her iphoto, all my photos from my account downloaded into hers. I forget what I did to make this happen but it might have done so automatically.
    My question is: how can I set up her own iphoto account when she is logged into her user account on the computer? We don't wish to share iphoto libraries as now is the case.
    And, this might not be the correct forum to bring this up, but when I take pictures on my iphone 5s, they stream to her iphoto library as well as mine. But, her pictures taken on her iphone don't stream/backup to either of our computer iphoto libraries even though she has an icloud account and photo streaming turned on on her phone. 
    I hope this makes sense as there are really 2 questions: setting up a separate iphoto library for each user on one computer, and, how to get photo streaming from her phone to her library
    Thanks in advance for any help

    First you both have to have your own user accounts on the MBA and separate iCloud accounts.  From there it's relatively simple to create you own libraries and have your respective iPhones link to those library when both devices are logged into the same iCloud account.
    OT

  • Using ethernet and wifi at same time

    I just upgraded to Lion and now I can not access my WIFI print server at the same time I am connected to the ethernet using the wired cable.  In Lepard it worked fine.  To clarify, I use the ethernet cable for internet access and I use WIFI to print and access a network hard drive.  When WIFI is off, the internet works fine, the moment I turn on the WIFI, the internet sonnections stops.  Since October 2010, this connection has worked fine until Lion.  I have a second IMac on Lepard and it also still works fine with both ethernet and wifi at the same time.

    Try to swipe up and press play from control centre while in your game. This often works however with some games/app the developers have set to pause your music and after you swipe away control centre the music will stop.
    Hope this helps!

  • How to use multiple languages at the same time for spell checking?

    I use two different languages all the time and words are mostly so different (English and Finnish) that I could have spell checking on for both languages at the same time.
    Now it seem to allow to select only one language at the time and I have to switch back and fort zillion of times per day.

    Thanks for the quick answer.
    The Dictionary Switcher doesn't seem to work with Finnish language, it doesn't detect it at all to be one of the choices although in the Firefox context menu Languages -> Finnish/Finland is shown.
    Also, if it would work, I would need to get rid of multiple EN_* langauges. I just need EN_UK or EN_US, not all 22 different EN_*.
    One option would be to create a custom dictionary, which would have words from both languages. The next task is then to find out how to make this kind of custom ENFI-dictionary, which would have words from both English and Finnish languages.
    Finnish may be a some kind of special case for spell checking anyway, because the support is in its separate plugin:
    http://voikko.sourceforge.net/

Maybe you are looking for

  • Can I purchase Aperture to run on OSX 10.7.3?

    I'm seeing several discussions that mention Aperture as a possible solution to many of my iPhoto problems but when looking at it in the "store" the system requirements are minimum OSX 10.9.  Yet, I see reference to many using it with LION. QUESTION:

  • Scheduled reminders showing a day earlier

    When adding a reminder on my iPhone with a scheduled remind me on date the reminder shows up a day earlier. Example, the remind me on date is Friday, however the reminder shows up for Thursday. Anyone else seeing this issue, heard of it, or know if i

  • Photoshop Help | New video features in CS6

    This question was posted in response to the following article: http://helpx.adobe.com/photoshop/using/new-video-features-photoshop-cs6.html

  • Wrong XQuery Launch Configuration in Jdeveloper Java Edition?

    Hi, i want to use xquery from JDeveloper Java Edition. I have a simple application with one project. I added the XML, XML schema and xquery feature my simple customer.xml and customer.xq Then i try to run customer.xq and get " java.lang.NoClassDefFou

  • Bluetooth voice quality - LG Cosmos 2

    Frustrated and wondering where to start.  New car (Honda CR-V) and new phone (Cosmos 2.)  Bought the phone solely because my original (very old) phone wouldn't "pair" with the new car's bluetooth.  The Cosmos has gotten past that, makes & receives ca