Lock VI.Lib User.Lib VIs

So recently I found myself accidentally editing some VIs in my user.lib.  They were some reuse VIs that I was making a copy of to edit, and instead of editing my copy I edited the original.  Because of this I went through and made all reuse VIs locked but with no password to help others from making the same mistake.  
So now when the reuse library is installed and a user opens, they will need to unlock it before editing.  Not a big deal and it isn't hiding anything behind a password.  But it got me thinking, should NI do something similar with their VIs?  Is this one step to help users from editing these files?  Is it not necessary?  And can anyone think of any draw backs to mass locking a reuse library.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Jeff·Þ·Bohrer wrote:
The simpler solution is to make them read only and hit the ini option to treat them as locked.  In Fact, your SCC does this already.  Unless you check out the library you intend to edit, the files will be read only.  That ini setting is one of my favorites and has saved me many headaches.
Depending on where I am- vi.llb gets set to read only and some user's are handed ini files that contain the treat read only vis as locked flag set and told to never ever change it or "Pain there will be pain!" and I've been known to have a vi.lib back-up on a thumb drive on my key-ring! (Some users just have to learn the hard way!)
Onto the next observation: if you are making a copy of a reuse vi to edit you probably saved it with the wrong extension in the wrong location.  it belongs somewhere in templates as a vit.  
I didn't fully explain my situation.  This VI is not the kind of thing that I would want a VIT for.  It was a utility VI that I wanted to see if I could improve so I wanted to save a copy elsewhere, as a new VI then edit it and compare the performance to the one in the user.lib which I expected to be untouched.
I started by setting all files to read only.  This is faster then having to open a reference, edit, and resave the VI.  But as soon as installed the reuse library on a new version of LabVIEW it had to mass compile, which it had problems doing since I couldn't resave the file.  Part of the package making process involves opening references to update description and such so I already have the reference open.  Adding the Lock to the VIs I wanted didn't seem to add much overhead.
Thanks for the link to the Idea exchange I did a search on locking VIs but that didn't come up.  The discussion is very interesting since I use Save All quite often.
Edit: Oh geez.  I event commented in that idea exchange shows how much I remember.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Error while query execution - Query getting locked by another user execute

    Hi All,
    I am facing an issue ..
    When I execute a query I am getting an error message ie popping as blocked by some other user. And I able to see the lock when I go to SM12. If the other user logged off or if we unlock his entry, then both the workbook and query is getting executed as expected. What can be the reason for this phenomena?
    In my understanding, in the same time multiple users can execute the query /workbook. But in our case its not allowing.
    Can someone suggest a resolution at the earliest, as it is affecting the reports in live environment
    Regards
    Mathew

    The Bex Analyser (Front end) Patch is 501 and the SAP BI is 15.
    The error message that I am getting while executing the query is "The object requested is currently locked by user --". 
    When I go to SM12, I can see a lock in the user's name.

  • Error while updating PO - 'This document is locked by another user. Please

    All,
    While updating the PO through API (Oracle Version - 11i) we are getting the error message 'This document is locked by another user. Please try again later.' intermittently.
    We are using below API to update the PO through interface program.
    po_change_api1_s.update_po
    (x_po_number => <PO_NUMBER>,
    x_release_number => NULL,
    x_revision_number => v_revision_num,
    x_line_number => v_line_num,
    x_shipment_number => v_shipment_num,
    new_quantity => l_upd_price,
    new_price => NULL,
    new_promised_date => NULL,
    launch_approvals_flag => 'Y',
    update_source => NULL,
    VERSION => '1.0',
    x_override_date => SYSDATE,
    x_api_errors => v_api_errors,
    p_buyer_name => NULL
    Client is very keen to know the root cause of the error message, Does any has any idea ? Our concurrent program has been configured incompatibility, so one program will at a given time.
    It would be great if anyone can give me some valuable inputs to debug this error message.
    Thanks,

    Hello,
    I am also facing same issue. In my code I am updating PO lines using Update_PO API. Whenever I am trying to Update 2 Lines on same PO. One get successfully update and for second line getting same error 'This document is locked by another user.'
    Please help me for this..
    Thanks in advance.
    Thanks
    Ravi Raj.

  • Project Locked by another user

    Ok, I kind of broke my MacBook Pro and had to buy another one. I took the HDD out of my old MacBook and connected it to my new MacBook through a SATA to USB converter. I am trying to get my iMovie projects off the old drive but it tells me that the project is locked by another user, the username that I had on my old MacBook. I have tried everything to get it open including copying it to the shared folder, taking ownership, and changing permissions and no luck. Any ideas short of swapping the HDDs.

    Needed to delete a file within the project called "Project.lock"

  • " Project Locked by Other User" HELP!!!

    Hi Everyone!
    I am having a problem opening my daughters 1st year DVD. Last summer, our iMac died, and we replaced the hard drive. We were able to salvage all the files, and put them onto an external.
    Now, I am trying to open one of those salvaged files from iDVD, and I am getting this message:
    The project Mairead...The first year1 is locked by the user Steph (user ID 501): 2008-11-30 17:23:42 -0500.
    The project can't be opened at this time.
    I've tried switching the username to Steph, and it still doesn't work. When I click on it and open the info, it says everyone is "read and/or write" ---
    Please help!!! I don't know what to do...
    Thanks!

    Take a look at:
    http://discussions.apple.com/thread.jspa?threadID=1495274
    especially the comment by markwd21

  • Hard drive access locked to all users

    I have a second internal HD on my Power Mac G5 that is locked to all users. I have tried many different things and have been unable to make it available to myself. I could just format the drive but there is valuable work data on there. Any help would be appreciated.

    Hi musicmn-
    Greetings and welcome to the Apple Discussion boards
    This happens even when logged in with an admin account?
    Are you able to repair the drive via Disk Utility?
    Luck-
    -DaddyPaycheck

  • How to suppres Forms Default Locking message with user freindly message?

    Hi,
    In general if the record being edited by current user is locked by another user working on the application, forms would give the dialog box 'Could not reserve record(2 tries). Keep trying?' Is there any way by which i can suppress this message and give user friendly message by capturing it in any trigger.
    Please suggest me?
    Seshu

    You should be able to modify the message to whatever you like by using an ON-MESSAGE or an ON_ERROR trigger. Then when/if the error happens, the default Oracle error message will be replaced by your message. An example is included.
    IF message_type = 'FRM' and message_code = 40350 then
         MESSAGE(WAREHOUSE ID NOT FOUND');
         MESSAGE(' ');
    ELSIF message_type = 'FRM' and message_code = 40401 then
         NULL;
    END IF;

  • Locking R/3 User

    Hi,
    We are developing a Webdynpro application.
    We have multiple screens or views to create or update a record related to any particular r/3 user.
    Since we have multiple screens and we are updating data for each screen. How can we lock R/3 user till the time we click on 'Save' button of last screen?
    Thanks & regards,
    Nilesh.

    Hi,
    for more information on locks, see http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/2d7037ecc92a7ee10000009b38f8cf/frameset.htm
    Regards, Heidi

  • Error mesage: Project locked by other user?

    Hello,
    I just re-opened my external hard drive after a month vacation from it and tried to open my IDVD file only to get an error message:
    Project locked by other user:
    The project ZOOOM demo reel 10-07 is locked by the user Video (used ID 501): 2007-12-19 10:42:27-600
    The project can't be opened at this time.
    I went into the file's "get info" and unlocked everything to no avail. I'm puzzled. I have never seen this before. Any help would be great.
    Thanks,
    Jordan

    Control click on the icon of your external drive and select Get Info. Check the box that says, "Ignore Ownership on this Volume." See if that solves it.
    Make sure that your hard drive is formatted for Apple. Should be Mac OS extended or Mac OS extended (journaled). But if you reformat, be sure to first move your data to another drive, because reformatting will erase all data on the drive.
    If that doesn't work, use the Disk Utility app on your Mac to do a permissions repair on both your startup drive and your external drive.

  • When opening elements 12, catalog is locked by another user

    When opening Elements 12, I get a message that catalog is locked by another user. No other applicatrions are open and computer was restarted

    Yes, I've seen this happen when the form contains a multi-line text field. What happens is that applications generated with the Web PL/SQL generator do optimistic locking by saving a copy of the original contents of each field in hidden fields. When you save the form, it calls the lck procedure in the TAPI, and passes the data from the hidden fields. In theory, if no-one has changed the data in the database since you first saw the form, the data in the hidden fields will match the current data in the database. This works fine for data that has no linefeeds or carriage returns. Unfortunately, if you have a long text field that may contain linefeeds or carriage returns, the browser may have changed the whitespace in the hidden field so that it no longer matches what is currently in the database.
    My current work-around is to do a post-generation change to the TAPI's lck procedure, so that it replaces all whitespace characters (tab, lf, cr, etc.) with spaces, and changes multiple spaces to single spaces in both the input data and the data from the database, so that they will only fail to match if the actual readable data has changed. Yes, post-generation changes are a pain, because you have to remember to do them EVERY time you generate - I usually put a reminder in the Comments on the item.
    Unfortunately, Oracle is not going to fix this because Designer is a "mature" product. I'm thinking of writing my own TAPI generator and my own Web PL/SQL generator that uses SCN (system change number) for its optimistic locking.

  • Project Locked by Other User! But it's me!

    Today I wanted to open an old (2006) iDVD projectfile (.dvdproj) with iDVD 7.1 and I got a messagebox of the program which said:
    "Project Locked by Other User
    The project America del Sur is locked by the user casper (user ID ###): 2006-04-30 20:253:34 +2000.
    The project can't be opened at this time
    <OK>"
    Does anybody knows what I can do about it to open my project. I want to burn a new DVD of this project. Please help me

    Take a look at: If your archived project can’t be used by others at http://docs.info.apple.com/article.html?path=iDVD/7.0/en/6719.html

  • Content area locked by a user and cannot be edited in  EP

    Hello,
    Whenever i try to enter settings for a system to integrate it with EP and close the window in a particular login,after logging off once when i try to change the settings again,it gives the message "editing is locked by that user and cannot be edited,even after changing to edit mode.
    Iam facing this problem since many days.Even after logging off many times,it doesn't allow to edit properties,and hence it becomes difficult to change even a single value.kindly help please.
    Regards,
    Somya

    hi somya,
    The lock can be removed by administrator. Until then you will get such message. if you have system admin rights, then
    Go to System administrator > Monitoring
    In detailed navigation under portal > Object locking. click that and you will get to see the locked objects. press unlock and the lock will be released.
    Regards,
    Ganesh N

  • [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null

    Hi,
    I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
    [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
    Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
    I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
    Oh, and this happens only with the projects which deal with JMS queues.
    We are using OSB:
    Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
    Please help.
    Thanks,
    Mukund.

    Hi,
    I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
    [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
    Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
    I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
    Oh, and this happens only with the projects which deal with JMS queues.
    We are using OSB:
    Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
    Please help.
    Thanks,
    Mukund.

  • Restrict SU01 to only lock and unlock user passwords

    how  to  restrict SU01 to only lock and unlock user passwords,(should not have acces to create users) What is the auth.obj I need to change ? please suggest.
    Thanks
    sr
    Message was edited by:
            sunny raj

    Restrict authorization object S_USER_GRP to activity '05'
    Cheers,
    Ben

  • Locked the oracle User account

    How to know who(os Name/ User/ Locked Time) locked the oracle User account

    1) You didn't mention an Oracle version. If you're on 10.2, perhaps this discussion
    http://www.pythian.com/blogs/284/oracle-102-migrations-%E2%80%93-account-lockedtimed-and-failed_login_attempts
    would be interesting.
    2) DBA_USERS isn't going to tell you who caused the account to be locked. Just that it is locked and when it was locked.
    Justin

  • How to user jdbc visit oracle object type function?

    1、create oracle object
    create type cocotestparam1 as object
    (id number,
    name varchar(10)
    2、add function to object
    alter type cocotestparam1 add member function test1(t number) return member;
    3、create object body
    create type body cocotestparam1 as
    memeber function test1(t number)
    return number
    is
    begin
    return t;
    end;
    end;
    how can I visit the object cocotestparam1's function?
    and how can I user jdbc visit the function?

    CallableStatement =
    "DECLARE
    a person_type;
    BEGIN
    a.load_object(4);
    ? := a;
    END;"
    And register as an out parameter.
    Edited by: michael76 on 14.07.2010 05:01

Maybe you are looking for

  • I PERFORMED A TASK FROM MY LAST QUESTION AND GOT A BIG PROBLEM

    PLEASE HELP!!! I did the new profile. I've lost all my extensions-especially she whole page I had on super start I also lost all my bookmarks. HELP!! I had 150 to 200 very important bookmarks I went to Carbonite and they restored them to my desktop,

  • Using javadoc ant task to generate Javadocs

    Hi all this may confuse you (probably because i'm fairly confused) i was asked to write a script that in a project that could be ran to generate javadocs using ant libraries (org.apache.tools.ant.taskdefs.Javadoc) Does anybody have any experience in

  • Rename temporary File

    HI, I am doing a RFC to File scenario , at the Receiver Communication channel I am using the Use Temporary file with the " Put File " option , Now my requirement is to rename this temporary file Else file ca nt be picked by AS400 system. So My questi

  • Is it possible to install a self-signed certificate to a phone?

    I made a self-signed certificate with KeyTool and I use the corresponding private key sign a MIDLet with jarsign tool. Now I don't know how to install the certificate to my phone. I also want to is it possible to do this? thanks.

  • UWL inbox personalization

    Hi All, I made some changes in my UWL inbox pernsonalize view. Now I want all UWL inbox portal users need to have the changes. How do i update this changes to all portal(UWL inbox) users in EP7.0 Thanks in advance Sundar