Pb with 2 parallel VIs using same DLL

Hy group!
I have two VI running simultaneously.
The first acess to a DLL every 500 ms.
The second has to use the DLL randomly but can't do this because the DLL
seems to be locked by the first so the second is blocked as long as the
first is running.
I'm very surprised by this behaviour and I suppose there is a solution to
use a same DLL simultaneously by two VI otherwise using DLL in LabView lose
interest.
Does somebody know how to do this?
Thanks!

Hy
Sorry, my application is big now and I had changed the input of a Wait Until
Done of Run VI attribute node to TRUE.
Greg McKaskle a écrit dans le message <[email protected]>...
>> I have two VI running simultaneously.
>> The first acess to a DLL every 500 ms.
>> The second has to use the DLL randomly but can't do this because the DLL
>> seems to be locked by the first so the second is blocked as long as the
>> first is running.
>
>First off, make sure that the DLL call, the Call Library Function node,
>is marked as being reentrant. Set this by double clicking or popping
>up on the node and in the dialog there is a setting for reentrancy.
>
>Nonreentrant DLL calls automatically get protected by LV from parallel
calls,
>and they are colored o
range.
>
>Reentrant DLL calls are allowed to have any number of calls in them at
once.
>It is up to the DLL to protect globals or any other resources that must
>be mutexed. They are drawn in yellow like other nodes on the diagram.
>
>The same color and reentrancy issues exist for CINs, but the setting for
>whether or not they are reentrant isn't in a dialg, but in a callback to
>the CIN; so CINs must be recompiled to go from one to the other.
>
>Greg McKaskle

Similar Messages

  • HT1206 Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Win7 with FF 31, Android 4.2 smart phone with FF letest ver. using same account with 1 email. But phone is not get any pass, Bokmr, etc.

    Brother,
    We r using win7 with Mozila 31, Android 4.2 smart phone with Mozila latest ver. from google app store on 04/10/0214. Using same account with same email. But phone is not get any new information from win7 with Mozila 31. Pl z give helpful information.

    Hi w3ur_team,
    Thank you for your question. I understand that there are two devices that are logged into the Sync account. However the Android is not syncing.
    There are two places we can check:
    # In the Android Settings, under accounts is the attached account Firefox Sync or Firefox Sync (deprecated)?
    # Do the login credentials work on accounts.firefox.com on the mobile device and are there any error messages on the Sync menu from Settings > Sync?
    Please also see [[Firefox Sync troubleshooting and tips]] for more troubleshooting steps.

  • Parallel flow using same Partnerlink

    Hi all,
    This is what i'm trying to do: i have a process that splits up in two parallel processes which are EXACTLY the same (only input differs very slightly). Later on these processes converge again to one.
    So, I decided to build a process A that calls upon process B twice, using flow to have it in parallel. I realized I had to do something about getting the receive right. The thing to use looks to be the Correlation Set. However, Correlation set documentation is very meagre. I can't seem to understand the working of the 109.CorrelationSets example, as it looks to use a double correlation (?). It just confuses me.
    I really need some help here, and would appreciate a very simple working example.
    What I really need to know is:
    - what steps to take (BPELDEV guide isn't enough help)
    - where to place correlation (on invoke or receive in process A ?, on receive or reply in process B?)
    - how to set the correlation value, or is it always derived on the basis of the "query" in the bpws:PropertyAlias?
    Thanks in advance!

    Hi,
    This is probably related to the fact that you cannot have two concurrently enabled activities with the same partner link, operation, and correlation set (this constraint can be found in the BPEL spec.) The correlation sets won't help you here because correlation sets are there to do instance routing (i.e. route an inbound message to the right process instance) but the problem here is not to route to the right process instance, but to route to the appropriate "receive" action... If there are two competing receive actions, the engine just go nuts, and this is why the above constraint was introduced in the BPEL spec.
    One way to go around (assuming that the interaction between A and B is based on asynchronous send/receive), is to first send the two messages in a flow, and then wait for the response with a single receive (rather than two separate receive actions). Something like this:
    <sequence>
    <flow>
    <invoke (send asynchronous message to B), no output variable here!>
    <invoke (send asychrnous message to B), again, no output variable here!>
    </flow>
    set variable counter to 1
    <while counter <= 2>
    <receive one message from B>
    increment variable counter by 1
    </while>
    </sequence>
    With a colleague, we have written a more complicated version of this scenario, where we effectively can receive messages through the same partner link not from 2 process instances, but from any arbitrary number of process instances. See http://www.serviceinteraction.com and download the code sample for "one-to-many send/receive with dynamically determined partners".
    I can send you the full Oracle BPEL project for this example if you think it would help. But I think that with the above information you should be able to proceed.
    Regards
    Marlon Dumas (m . dumas @ qut . edu . au)

  • Question re: iCloud with different family members using same AppleID

    Ok, here's the scenario... Everyone in the family is using the same AppleID for iTunes. Is there a way to set up iCloud so, for instance, my son sends a document or song to iCloud from his iPhone it only gets pushed down to his Macbook and doesn't go to my devices, and vice versa. My guess is I will need to create seperate iTunes accounts for everyone, but don't really prefer doing that. Would that be the best solution, though?

    Same situation here. I use a gmail address for apple id. A set of instructions would be nice Apple.

  • How do I set up my Xfinity Gateway modem Wifi with my Airport using same IP address?  I need step by step instructions.

    I want to use Xfinity Gateway modem WIFI with my Apple Airport, using same IP address.  Apple store says this will work. I need step by step instrucions on how to do this.
    Thank you

    I have had the AirPort for 5+ years.  Have had a Comcast modem for even longer.  My husband and I have iPads.  We can only get wifi connection within a very short range of our AirPort.  I noticed that Comcast/Xfinity was advertising their new Gateway modem with extended wireless wifi so I turned in my old modem to Comcast and picked up the new Gateway model.  After going through several issues with Comcast I tried to install my new modem and was told by Comcast that I cannot use both the Gateway modem and my Airport for WIFI, it's one or the other.  I went to the Apple store and asked the same question and was told that I can have both connected using the same IP address for both.  I am not very computer savy and need some basic, one step at a time instructions on how to add the Xfinity modem to my existing AirPort network for extending my WIFI.  I think I expained that correctly. 
    The Comcast cable is connected to my Modem and then there is another connection between the modem and the AirPort via USB cord.
    Is there somewhere on the AirPort/TimeCapsule device that tells me the exact model of my AirPort?
    Thank you for any advice you can give me.

  • Call multiple functions from same dll with call library function

    hi,
    i am working on a project in wich we need to make a UI to read out a sensor network.
    the UI should be usable in any project, but every node needs a different piece of code depending on the type of sensor with wich it is equipt.
    so i need to be able to call different pieces of code when i need them, and still be able to use the UI in future projects with possibly new types of node we now don't have.
    so someone told me to use DLL's, cause then i would be able to call the code i need the moment i need it.
    but i have never worked with DLL's (just learned about this option 3 day's ago) so i have a question.
    i know i can dynamicly change the DLL i call with the call library function, but can i dynamicly change the function i call from that DLL ?
    or do i have to put a new call library function for each function i want to call, even if its from the same DLL ?
    kind regards,
    stijn

    nazarim wrote:
    ok so there is no (easy and ubderstandable) way for me to dynamicly change wich function i want to call from a certain DLL.
    but now i started wondering, the path on the call library function is not ment to dynamicly change a DLL
    but it does work so, if i am carefull, can i use it for that purpose or will labview give me a series of problems once i start using it in larger programs ?
    Thepath on the Call Library Node can be used to load a different DLL. Obviously since you can't change the function name your other DLL would have to export exactly the same function name and of course with the same parameters. This is seldom the case so it is not the main use of the path input to the Call Library Node. It's main use is as indicated to load DLLs at runtime rather than at load time of a VI. So that an application can run even when the DLL is missing, until the moment the functionality from that DLL is needed.
    If you can make sure that all your DLLs export the same function name with the same parameter you can use the Call Library Node to call into different DLLs through the path input. If however you would need to call different function names you would have to resolve to some DLL which does do the dispatching and invocation using LoadLibrary() and GetProcAddress(). But unless you need to go with DLLs for some reason using the Call By Reference Node can give you an even more flexible approach. 
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Sorry the answer to my previous question did not help....when trying to get app message tells me I do not have acc or its been disabled. Is this because of joint usage of email as my partner has account with iTunes using same email?

    Sorry the answer to my previous question did not help....when trying to get new app installed on iPad  message tells me I do not have acc or its been disabled. Is this because of joint usage of email as my partner has account with iTunes using same email?

    Whatever the reasons are that you think the problem exists, you will not be able to resolve it on your own. Did you see this at the bottom of the support article that I suggested that you read?
    Additional Information
    If the issue persists, you can visit iCloud Support, iTunes Support, Apple Print Products, or contact AppleCare for further assistance.
    You should probably contact iTunes Support.

  • Can two peeps use iChat with different accounts on the same computer?

    What do I do to REMOVE an old AIM account and replace it with a new account in IChat?
    Can two peeps use iChat with different accounts in the same computer?
    (Actually, two people share a laptop, but one of us cannot use her AIM account cuz mine is in iChat already... And, when traveling, I have the computer - and I would like to use iChat on the computer...)

    In iChat 4 you can have more than one AIM Valid name logged in at once.
    AIM valid = AIM, @mac.com or a MobileMe name.
    What you are then stuck with is that iChat is linked to one Buddy Picture and The one Mac User Account's Address Book which may or may not have Full Names, emails details, or a Nickname in iChat 4 linked to the Screen Names.
    Whilst it does let you both log in whilst using one Mac User Account there are drawbacks about who uses the keyboard and reading meesages from the other persons Buddies.
    8:50 PM Sunday; November 30, 2008

  • My brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    my brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    He remember the id name and password but he can't enter we don't now if the password is wrong or the id was  lock . I have the all thing for the ipad such as his box . I now this is security thing but you could help me.

  • HT3529 iMessage appearing in 2 different iPhones with distinct phone numbers but using same apple ID

    I and my friend both use same apple ID. When someone sends me an iMessage to my iPhone, it goes to his iPhone with separate phone number also. When I send someone an iMessage from my iPhone, the message will appear as sent from his iPhone also. But the receiving person will get only one iMessage (from my number).
    Both of us have ios 6 and separate phone numbers but same apple ID.
    How is this possible?
    When I checked setting on iMessage on my phone, send and receive shows my phone number and email address only.
    Has my iPhone been hacked by him?
    Please help

    cheonweb wrote:
    iMessage is linked to a phone number AND an email (Apple ID) address.
    Sorry for bugging cheonweb but I just want to be clarified:
    1) If the phone numbers are different but the Apple ID is same, he would still get iMessages sent from/to my Phone number?
    2) Why is it not vice versa? Why do I not get messages sent from/to his iPhone?
    Thanks in advance

  • Can 2 different users with 2 different Iphones use the same itunes to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    can 2 different users with 2 different Iphones use the same itune program to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    Here is your answer:
    http://support.apple.com/kb/HT1495

  • I was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    i was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • How do I do to use the same appleid on all my devices, I want to use the last one I have on my Ipad mini, do I deleta the one I have on my Iphone and reeinstall it with the Id I use on my Ipad..?

    how do I do to use the same appleid on all my devices, I want to use the last one I have on my Ipad mini, do I deleta the one I have on my Iphone and reeinstall it with the Id I use on my Ipad..?

    Hi john,
    Yes, you would sign out of iTunes & App Store: Settings>iTunes & App Store, click on the Apple ID, click on Sign Out. Then sign back on with the new Apple ID. Also, if you have an iCloud account with the other Apple ID, you would delete that iCloud account, and then sign on with your new ID: Settings>iCloud>Delete Account.
    Cheers,
    GB

  • I have just upgraded to Mavericks and have been using Time Machine on an external disk with Snow Leopard.  Can I continue to backup with Time Machine on the same external disk or do I need a new disk since the operating system has changed?

    I have just upgraded to Mavericks and have been using Time Machine on an external disk with Snow Leopard.  Can I continue to backup with Time Machine on the same external disk or do I need a new disk since the operating system has changed?

    Hi there,
    I found that Time Machine in Mavericks will sort it all out for you. You shouldn't need to buy another backup drive, unless you have insufficient space left and can't afford to delete whats on there. It should just work fine.

Maybe you are looking for