Is there any way to tell when a task has a lock

Normally I can just keep track of it. But upon an external termination I can get into problems. If I don't release a lock, well it stays locked. If I release it and don't have it I get a run time error. But I can't find a way to ask a lock if I have it.

ChasGI,
Unfortunately, there is not a way to query a lock to determine what/who posseses it.
The Get Status lock operation returns the Number of Threads Waiting to Lock the Lock. You could get creative with that.
Matt P.
Applications Engineer
National Instruments

Similar Messages

  • Is there any way to tell when a device was last synced?

    I have misplaced my iPad and to cut a long story short, by knowing the last time it synced over wifi will give me a starting point as to where  it could be.

    You can look in Finder under
    ~/Library/Application Support/MobileSync/Backup
    ~ is your Home folder.

  • Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice

    Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice.
    I'm fixing a Numbers document that I use in business daily that's become overly complicated, but while I want to clear/delete a number of cells in it to clean it up, I'm not sure if those cells are being used as source for other formulas on the page. I don't have to open all my formulas one by one to see if that cell is in there, do I?! That'd be a huge amount of work if I wanted to eliminate say 10 cells to search each formula on the page to see if it is in there or watch all the cells when I delete that cell to see if the numbers change! There's got to be an easier way! Right click doesn't seem to be any help.
    I don't want to damage my daily tool to make it cleaner and reorganize it. Is there really no way to do a reverse look-up of which formulas a particular cell is in?! Any time I click on a formula it highlights all the CELLS in that formula. Why can't I (or can I?) do the reverse and see all the FORMULAS that contain a particular cell?
    As a Numbers document ages or gets used frequently, you can sometimes forget which cells are tied to which formulas. You just look for the results of your formulas. Would be a nice thing to be able to do. Thoughts? Work-arounds? Answers?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • Is there any way to tell Airport to select the strongest network from saved networks?

    I have two routers in my house as both are fairly crap, and essentially I have one router for upstairs and one for downstairs (to be fair, my house is a few hundred years old and all the walls are massively thick granite so perhaps no router would negate this problem). This is a minor issue really, but is there any way to tell Airport, rather than simply having a list of networks to try in preferred order, to check which of the two networks has a stronger wifi signal when the mac is booted up or woken from sleep, and join that one?
    Don't mind doing it manually tbh, just curious as to whether this could be automated.

    Hmm, this is interesting. I actually didn't know this.
    From:
    http://www.macobserver.com/tmo/answers/4-wi-fi-tips-from-former-apple-wi-fi-engi neer
    "Apple devices choose networks by your preferred order. Period. If you have multiple networks of different names your Mac or iPhone will always choose the first in your iCloud-synced "Preferred Networks" list even if this one isn't going to give you the best bandwidth. If you have the network name/SSID the same then it will chose the radio that it predicts will give the best throughput (which isn't always the one with the best signal, but that's an even geekier discussion you can hear in the show). Make all the Wi-Fi networks in your home the same. Your life will be better for it."
    Maybe I've been working on too many PCs over the last 5 years.

  • HT1688 My phone is trying to send an email that it can't send. The message is in the Outbox. I would like to delete the message but as long as the message is trying to send it, I am unable to.  Is there any way to tell it to stop sending so that I can del

    My phone is trying to send an email that it can't send. The message is in the Outbox. I would like to delete the message but as long as the message is trying to send it, I am unable to.  Is there any way to tell it to stop sending so that I can delete it?

    Thanks - the only thing is for a long time it would not allow my to select Edit - I tried it but - what ever - this time it did - THANKS - Mark

  • HT201317 Is there a way to tell when a photo in your photo stream was taken?

    Is there a way to tell when a photo was added to photo stream. How do photos appear on photo stream? Are they downloaded from my iPhone when I save a picture that was texted to me? Do they then go right into my photo stream?

    Photos added to camera roll are added to your photo stream (when the camera app is closed, you are connected to wifi and you have at least 20% battery life remaining).  When you save a photo from a text message it is saved to your camera roll, and is therefore also added to your photo stream.  You can't, however, tell when such a photo was added.

  • Is there any way to know when (and/or whether) a particular tv season will be available for purchase on itunes.  i'm particularly interested in the 2nd season of "homeland," the 5th season of "damages" and the 7th season of "dexter."  thanks.

    is there any way to know when (and/or whether) a particular tv season will be available for purchase on itunes.  i'm particularly interested in:
         the 2nd season of "homeland,"
         the 5th season of "damages"
         the 7th season of "dexter."
    thanks.

    Thanks. But the disc inspector only appears to let me change things like where the title menu button takes you, not detailed user operations. I have pretty much given up on this being anything other than a giant hassle, but if anybody knows whether a script could do this, I would be eternally grateful.

  • Is there any way to tell the differences between auroras or betas?

    There are various arouras and betas released during each rapid release cycles.
    Is there any way to tell the differences (changes/fixes) between auroras or betas?
    bugzilla can only tell the target for landing but not releases for some of the changes/fixes ...

    The Beta builds of a version has about six to twelve with nine being the average in last while until the 34.0 Betas. For Aurora which now currently called Developer Edition has checkins almost everyday so therefore there are updates each of those days.
    For Beta builds you can look at http://release.mozilla.org/ and http://hg.mozilla.org/releases/mozilla-beta/
    For Aurora you can look through http://hg.mozilla.org/releases/mozilla-aurora/
    If you want to be a Tester then perhaps http://forums.mozillazine.org/viewforum.php?f=23 may be of interest as many Testers hang out there.

  • Is there any way to tell the last date my ipod was plugged into my computer?

    OKay, this may be a techie question, but I'm pretty savvy so if this info is contained in a file somewhere, you can feel free to explain how to find it, I can look for it.
    i Misplaced my iPod nano at some point in time, and knowing the last date I synced it to iTunes or even plugged it in would be HUGELY helpful in helping me to maybe locate it.  IS there any way to see this information (the date specifically) anywhere on my computer dated in any file?
    I Did look at devices and the iPod wasn't listed there, (only my more recent iPad and iPhone as backups) so I'm assuming maybe this wasnt an option in earlier versions of iTunes at least when I last had that sucker plugged in.
    IIt's Moreso just killing me that I can't find it, and I KNOW it's one of a few places.
    ANy help is great!
    thanks!
    ROb

    Go here for instructions.
    iFixit: The free repair manual
    If your iPod got wet, put the whole iPod in a bag/container of rice and see it and leave it for days.
    How to fix a wet iPod or iPhone | eHow.com

  • Is there any way to prevent my SSIS Tasks from reformatting themselves when I want to change the Name

    So all my tasks are nicely laid out in my SSIS Package. Now I want to go add a blurb to the Name to make it a little more descriptive. When I do that, Microsoft Visual Studio just automatically re-sizes the task so the entire description, name fits. When
    I make it the right size, my scripting name is wrapping and that's the way I want it to look within my Package. Is there any way to stop Microsoft Visual Studio from automagically adjusting the size of my task when I click on the Name to edit?
    Thanks for your review and am hopeful for a reply.

    There is no way. The designer canvas received improvements in SSIS ver 2012, but this specific aspect remain unchanged.
    What I do I simply use the Format -> Autolayout -> Diagram or you can also/instead Ctrl-A to select all and choose "make same size"
    Arthur
    MyBlog
    Twitter

  • Is there any way to know when an app is going to be discontinued?

    I purchased an app around eight months ago for $13. I forgot about it until I was reloading apps onto my new IPad. When I went to find it, it was no longer in the app store at all. I contacted the support people who told me that since it was "so long ago" there was no recourse.  So does that mean that any time you purchase an app it could disappear at any moment? Is there any way to know in advance that this will happen?  Never mind that it stinks to spend that amount of money and then have nothing to look back at.
    Additionally, I have had trouble reloading apps that I have paid for as an "in app purchase".  What is the deal with that?  Is that information not stored like buying an app outright?
    Thanks
    DTC

    Apple constantly reminds folks to backup their content. Apple warns folks all of the times that content may not always be available in the iTunes or Mac App Stores and most folks ignore the warnings or cannot be bothered to read them. No, unless the developer warns you that they are with drawing an app from one of the stores, there is no way to know in advance that an app may no longer be available.
    http://support.apple.com/kb/ht4009

  • Is there any way to tell what songs on my iPod are NOT in my iTunes library?

    There are some songs on my iPod that are not in my current iTunes library. I ran into a problem with album artwork and may need to do a full restore. If I do this, however, the songs that are not in my library will be lost. Is there any way, through iTunes, a third-party program, or directory digging to tell if a song is not in your iTunes library?

    Select the iPod in iTunes then File > Transfer purchases.
    If these are not iTunes purchases, simply restore them to iTunes from the backup of your HD.

  • HT1391 is there any way to disable my iphone that has been stolen when it is not longer used as an active phone?

    I was using an old iPhone just for listening to music in my car. That was stolen when my car was broken into. Even though it is no longer used as a phone, there is still contact info on there that I do not want the thief to get a hold of. Is there any way to disable that device if i know the serial number>

    Thanks for your reply. That is what I feared. I never signed up for iCloud service because I was going to get a different phone around the time iCloud came about... oh well, it is what it is. At least I removed all Contact info on it at the time because I wanted to maximaze the space I needed for music!
    Thanks again.
    AGC

  • Is there a way to tell when an app was added to login items?

    Is there a way to tell the exact date when an app was added to login items? (eg. through terminal or console?).
    TIA

    No. Login items are created when you add an app through
     > System Prefs > Users & Groups | Login Items
    and is a list specifically used for running and app on login to a particular users account (not boot in general). At least AFAIK, this has nothing to do with installing the app to the system.
    I'm writing a bash diagnostic script which needs to call this info.

  • Is there any way to see if a file has been saved to an external device, or to see a history of which external devics have been connected to an iMac in 10.6.7?

    I have a client that believes someone came into his house and took some digital files (photos, stored in iPhoto) off of his iMac (2.66GHz running v10.6.7)
    He usually just sleeps his computer while away and requires no password to login.  Is there any way to see if an external device or CD/DVD has been used to save files?  Is there any wya to see the history of a file and determine if it has been saved anywhere else?  I know this is a long shot, but I figure it is worth asking.

    Will it continue to say that the device is in lost mode if it has been restored?  My Find Iphone is saying that when the device is connected to the internet that it will be locked and that a message (that I typed in) will appear. It also says that I will be notified and that a sound will occur when it is connected. Now my iphone has been updated to the ios7, but I don't think his ipod was updated.

Maybe you are looking for

  • LaserWriter Pro 630 two solid orange lights won't turn green.  Put in new toner and test page does print.  Any ideas?

    LaserWriter Pro 630 two solid orange lights won't turn green.  Put in new toner and test page does print.  Any ideas? The warmup stage does not seem to go all the way through its normal startup noises and the printer does not get hot. Thanks for any

  • Safari crashes with BBC video

    Ever since the 4.0 update, Safari has been crashing on video at the BBC site. Just updated to 4.0.3, no difference. Flash etc. all updated. Camino plays OK. Can someone confirm that the following video is playing in their system: <http://news.bbc.co.

  • Why can't I can't login to my iChat?

    I just got my Mac Air last month... and I am trying to use iChat but it won't let me... I was never able to go on iChat not even once... That is why I had to change my apple ID password so many times, and it still doesn't work. It works on my phone t

  • OBIEE:Page Items in Table View

    Hi, I m new in obiee I m facing problem in adding page items in table view, can u please tell me how to add it? Thanks, Rohit.

  • Solstice disksuite

    Hi Friends, I started a new work of managing database and backup servers which are running in solaris. Please tell me, through which command i will know like what type of raid is configured in solaris 8 machines using disksuite software...... thanks