How is it possible to make sure that LV uses the same thread for several threadsafe DLL calls?

Hello,
i have a thread safe DLL and most functions are called from serveral threads from the LV apllication without problems.
In case of an error i have to call an error handler function in this DLL (like WinAPI: GetLastError()) from the same thread which has called the function that failed before.
I can't use the user interface execution because some functions need a long execution time and i don't want to balk the user interface.
All other executions than the user interface execution have more than one thread and in most cases the DLL function calls were executed from different threads - so the error handling doesn't work...
Any idea?
Thanks for your help!

Hmmm....
How about wrapping all of your dll calls in a single VI (or an Action Engine ) and make sure the VI's thread is NOT set for "Same as caller".
"Threadconfig.vi" (sp?) will also let you dictate the number of threads associated with an execution system. Set your target thread for "1".
Not sure on the above.
Please correct me if this is wrong!
Ben
Message Edited by Ben on 07-19-2007 08:26 AM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the

    When i tried to login in inbrowserediting.adobe.com i see that:
    The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user.
    What does it mean? What is problem?

    Hi,
    I have just created my First website using Muse and Its all been uploaded to my FTP server but i cant access the in browser editing which was the whole reason why i re-done the website for my client using muse
    its saying the following
    "The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user. server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user."
    Yet i Can access my website fine "www.calmwood.com.au"
    My ftp server responds to either the IP Address or the DNS Address www.calmwood.com.au
    so i am not understanding how it thinks its different. when its fully referenced
    any help would be appreciated.
    thanks

  • Why Apple do not allow Bluetooth sharing between different devices even when I want to share something between apple devices I have to make sure that we have the same application

    Why Apple do not allow Bluetooth sharing between different devices even when I want to share something between apple devices I have to make sure that we have the same application

    We are users just like you and would not know why Apple makes teh decisions that they do , nor are we allowed to speculate about it here.
    From the terms of use:
    do not add Submissions about nontechnical topics, including:
    Discussions of Apple policies or procedures or speculation on Apple decisions."

  • The whole configure over WAN thing is confusing me I don't want anyone to be able to access my airport extreme over the WAN.  How can I check to make sure that is the way I have it setup?

    I just bought a new airport extreme and I want to make sure that is NOT set up for "configure over WAN".  How do I check to make sure that is how I have it set up?  I only want access to the base via WPA2 password

    Open AirPort Utility, select the AirPort Extreme, and click Manual Setup
    Click the Base Station tab located just below the row of icons
    Remove any check mark that might be in the box next to Allow Setup over WAN
    Click Update to save your settings and the AirPort Extreme will restart in 25-30 seconds
    For what it is worth, if you leave the box checked, any computer that tries to access the settings on the Airport Extreme will be asked for the device password....not the wireless network password.

  • Firefox will updage. I get this message: Something is preventing firefox from updating securely. Please make sure that you have the latest version

    I get this error message: Something is preventing Firefox from updating securely. Please make sure that you have the latest version of Firefox. I have uninstalled and re-installed. It did not work. Support tells me to click on Firefox at the top. I have no word at the top which says Firefox. I have the Firefox icon.

    This issue can be caused by the presence of leftover files in the Firefox program folder (defaults\pref) like a file firefox.js that overrides the update URL with a wrong link.
    Do a clean reinstall and be sure to remove the Firefox program folder.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * [/questions/826858]

  • I bought an iPad and want to make sure it's on the same apple account but my phone always come up with a different apple Id?

    I bought an iPad and want to make sure it's on the same apple account but my phone always come up with a different apple Id?

    Remember - if you bought any apps with another ID you cannot update them with a different ID.
    Try changing the ID in the App Store. Tap on Featured - swipe to the bottom of the screen - tap on the ID in the bottom left corner - and see if you can change it that way.
    If that doesn't work, sign out of your account altogether, restart the iPad and then sign in again.
    I guess I should ask - what ID is it coming up with and why is it coming up with that ID?
    Message was edited by: Demo

  • I want to perform bidirectional i/o using a pci-6534.The problem is that i need to use the same lines for i/p and o/p. is that possible?

    I want to perform bidirectional i/o using a pci-6534.The problem is that i need to use the same lines for i/p and o/p. is that possible? And if it is how an i doing this?

    Hi I Pant,
    The idea that crossed my mind was to tie each of the lines coming from/going to "your device" to two of the DIO lines. Configure one these two ports as input, the other as output.
    When you want to read the state of the line, read from the line configured as input. Similarly, use the other port when it is time to write.
    Provided "your device" uses tri-state drivers/receivers, or can be used in a "wired-OR" configuration, this may work.
    What is "your device"?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • MDT Console with more then 15 machines, How to use the same drivers for more machines.

    Hello,
    I'm am looking for a solution to make our MDT design as effective as possible(as small as posible).
    The Situation:
    The company has more then 15 different computers added to the MDT console for the automated installation of Windows 7. The installations are done in 2 different ways, 1 with a local USB key installation (with the deployment folder on the USB key) and the other
    installation is a network USB key installation (with the deployment folder on the server).
    The local USB key exists for offices in parts of the world where the internet connection is poor.
    The problem:
    We have machines which can use the same driver for different kinds of hardware functions (LAN, WLAN, etc..)
    If we add a new machine to the MDT and we don't check the box for "Import drivers even if they are duplicates of an existing driver" we will automatic use the driver which already exists in the deployment folder. If say half a year
    later we stop using an older machine which "may" have drivers that are being used for other machines and we delete the machine from MDT we should
    NOT check the box "Completely delete these items, even if there are copies in other folders". The problem is that this can also lead to a lot of unused drivers in the deployment folder also because we do not know exactly how many
    computers are using a certain driver.
    At the moment we have another deployment share with for each machine its own drivers installed (so some drivers will be multiple times in the deployment folder) as you can guess this becomes really big.(deployment folder of more then 24 GB). The advantage
    of this is that we can delete a machine from the MDT list without having to worry if the drivers for that machine might be used by other machines. It is now just becoming to big in size(GB).
    The Question:
    Is there not an option within MDT that checks automatically if the drivers connected to a certain machine in MDT are being used by other machines? In this case we would check the box "Completely delete these items, even if there are copies in other folders"
    and MDT would not delete the drivers which are still used for the installations of other computers.
    Thanks in advance.
    Greets,
    Arie

    Arie,
    I think you are over-complicating this. Basically using drivers that already exist is the way to go. Otherwise drivers will be imported a second, third or fourth time. Which also takes up allot of disk space. If you're concerned about driver management,
    then I would suggest to drop your concerns, since there is nothing to less you can do about this particular issue. As long as you don't delete the driver that's been imported earlier by another machine there is nothing to worry.
    Ask yourself:
    - how long am I going to support model x
    - how many times do I want to update drivers
    With selection profiles you can easily target which content needs to go where (on your USB drive of-course)
    I can imagine that managing 25 shares for 25 different models, just because you 'refuse' to have old drivers in your share, or have removed support for some hardware models, isn't really time and energy efficient too.
    If you take a look in your deploymentshare\control folders you will see some XML files. These XML files hold all the entries in your deploymentshare. So your drivers.xml and drivergroups.xml (depending on the number of groups you have) are going to be very
    big XML files. These XML files are read by MDT to identify the objects in MDT and under which folder the objects are located.
    It's not possible to create or have an dependency between driver files and hardware models, other then creating groups under "Out-of-box Drivers" and using selection profiles.
    Another suggestion would be to decrease your number of hardware models drastically. On the other hand, having 25 Gb of offline media isn't really a big deal either. Portable and removable media of those sizes (32 and 64 Gb) isn't that expensive as it used
    to be 5 years ago.
    Don't get me wrong, I perfectly understand your desire to manage this, but MDT doesn't provide any other way, then the things I have pointed out to you here.
    Good luck! :)
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Do third party replacement tips fit on the apple in ear headphones? I prefer foam tips as they block out much more sound, but I'm not sure if Apple use the standard fitting for headphone tips!?!?!?!

    Do third party replacement tips fit on the apple in ear headphones? I prefer foam tips as they block out much more sound, but I'm not sure if Apple use the standard fitting for headphone tips!?!?!?!

    Answer found. Please find below an amazon review explicitly mentioning adding third party foam tips. Sounds like they fit and work like a dream:
    "As a audio engineer, I own about a dozen different sets of earphones and in-ear 'phones. My favorite, by far, are my sure SE530s. I have some Sennheiser cx400s which are good workhorses, but lack the finesse, clarity and stunning accuracy of the Shures. For convenience, I bought the Apple's, as I wanted something I could use with the phone for calls.
    I found the sound to be quite clear and beautifully clean, but like many, no matter how I tried, the stock Apple tips never made a good seal. The seal is absolutely essential to getting bass out of a balanced armature design. For you non-engineers, just trust me that if you don't have a proper seal, you will have no bass.
    In my case, I think the trouble had to do with the largest size being a tiny bit too small, and the silicon being too rigid, yet slick, so they left small airgaps and were easy to remove. I tried using some foam tips from a third party, but their large was more of a medium, and never came close to a snug fit.
    As an experiment, I dug around in my ear-tips from my Shure's and tried their rubber tips which are about the same size as Apple's large tips, but made of a more pliant and slightly sticky rubber.
    OMG, what a transformation. Suddenly the sound blossomed, the bass became rich and well balanced, and the "top-heavy" sound was totally mellowed into a rich, well balanced and incredibly detailed presentation.
    Make no mistake, these are the best 'phones under $200 I have ever heard. The bass is deep and warm, very detailed, and totally lacking fuzz or buzz that I can hear in the Sennheiser set. Look at getting tips from a better headphone. The trick is it has to have a soft rubber base that can expand over Apple's slightly larger stub. Some tips, like the Shure foam tips, have a rigid plastic sleave in the tip to keep it's position correct, and these won't expand over the larger Apple posts."

  • How to Use the same iview for both KM End User and the KM Administrator

    Hi friends,
    *This is my scenario :* How to Use the same iview for both KM End User and the KM Administrator but with different Context
    Menu Options.
    i followed these steps but im getting same context menu for both KM End User and the KM Administrator .
    Assign the role Content Administrator to the user km_admin. This is needed so that km_admin can change
    the presentation settings for the KM Folder u201EReports_kmFolder‟.
    Now, login with user km_admin. Navigate to the Km Folder reports_kmFolder through Content Administration
    -> Km Content. Click on Details link of the folder reports_kmFolder.
    Go To Settings -> Presentation. Click on the tab u201ESettings for You‟-> Click on button u201ESelect Profile‟.
    Select the radio button corresponding to u201Elayout Set‟, and choose u201EConsumerExplorer‟ from the dropdown.
    Click u201EOK‟.
    Select both the check boxes corresponding to Items Affected as shown above, and click u201ESave‟
    Now, remove the u201ESuper Administrator‟ role from the user km_admin and login with this user.
    How rto resolve this????
    Regards,
    Prasad.

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • Is it possible to use the same Switch for two different clusters.

    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.

    user9198027 wrote:
    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.
    Yes.  Technically there will not be any conflict as long as the private addresses used by the 2 clusters do not collide, and provided that the switch's port capacity and bandwidth will not be exceeded.
    Your NA (netadmin) can also configure the switch to separate the 2 Interconnects from one another (called partitioning when using Infiniband) - if the switch supports such features.
    A major consideration is not to make the switch, public. That typically cause a range of problems and can have a serious impact on an Interconnect. But using 2 private networks on the same infrastructure should not have the same problems - if configured and implemented correctly.

  • HT3702 Jakarta, 05th September 2012  Subject : Can't buy the gold in crime city HD.  To whom may concern :   My name is Mr. Gunawan, now I was playing crime city hd, and I have buy 2 times gold in that game, using the same creadit card.  but when I want t

    Jakarta, 05th September 2012
    Subject : Can't buy the gold in crime city HD.
    To whom may concern :
    My name is Mr. Gunawan, now I was playing crime city hd, and I have buy 2 times gold in that game, using the same creadit card.
    but when I want to buy the third times, can't it's said "Please contact itunes support to complete this transaction"
    so I was think may be something wrong with my credit card, and I  direct call my credit card to check to make sure that  I still have limit,
    according to my credit card customer service, everthing is ok, nothing wrong with my payment, the limit is more that enough for the next transaction. 
    I try to buy it again, but still can't and it's said "Please contact itunes support to complete this transaction"
    pls kindly advise. So I can keep continue playing playing crime city hd.
    Best regards,
    Gunawan
    <Personal Info Edited By Host>

    These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your email address from your post.
    You can contact iTunes support here : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • How do I change the icloud account on my iphone? I want to use the same account for all my apple devices (macbook air and imac and iphone). I can't see where I can amend the iphone account because it is in grey?

    I want to use the same account for all my apple devices (macbook air, imac and iphone). I can't see how I can amend the iphone account because it is in grey? I also can't remember the password for this account so i can't even delete it and start again?
    Help!
    Thanks

    Deleting an iCloud account only deletes it from the Device, not from iCloud.  In iOS 8, the name of this setting changed to "Sign Out" as that is a better reflection of what actually happens.  Your iCloud data remains on the server, available to devices still signed into the account, but the device you sign out of the account on is disconnected from the account, and as a result, the iCloud data from that account is removed from the device.  It will redownload to the device should you sign back into the account.
    The only issue you'll run into when you switch between accounts is with my photo stream photos older than 30 days.  When you delete (or sign out of) and account, your photo stream photos are deleted along with the other data from the account in question.  However, unlike other data which remains on the server and can redownload to your device when you sign back in, my photo stream photos only remain in iCloud for 30 days.  When you sign back in, you will only get back my photo stream photos added in the last 30 days (as older photos are no longer in iCloud to redownload).  Like other account data, any my photo stream photos on your other devices signed into the account are unaffected by this.  If you want to keep older my photo stream photos on your device as you change iCloud accounts, save them to your camera roll before deleting (signing out of) the account.

  • I have used the same laptop for all three of my iPhones but awhile back this laptop had a virus so my husband wiped it out and now when I sync my iPhone I no longer get my entire music library ( including purchased songs) on my iPhone. How do I fix this?

    I have always used the same laptop for all of my iPhones but awhile back this laptop had a virus so my husband wiped out the laptop and now when I sync my iPhone I no longer receive my entire music library (including purchased songs) on my iPhone. How do I fix this?

    kimberlyfromtopeka wrote:
    Ok,thanks but, I should be able to something so that I am able to sync the entire library again not just the purchased songs.
    If the non purchased music is not on your computer, how can it Sync to your iPhone...

  • HT204074 How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    How do I use 2 apple id's on one mac?  I have my apple id on my mac and would like to use the same mac for my wife's phone and ipad?

    Correction, thats two itune id's

Maybe you are looking for