LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does the padlock on a file icon mean?

I am running LabVIEW 2011 SP1.  In Windows Explorer some of my files (both .vi and .lvproj) have a small padlock on the file icon.  The files open fine and aren't broken.  What does this icon represent?

0 Kudos
Message 1 of 13
(4,481 Views)

Read-only, perhaps?  Are they checked into source control?

0 Kudos
Message 2 of 13
(4,477 Views)

Its not read-only.  It is in our source control, but it is not checked out.

0 Kudos
Message 3 of 13
(4,470 Views)

@TheMarko wrote:

Its not read-only.  It is in our source control, but it is not checked out.


If it isn't checked out, then it should be locked.  Hence the padlock.

 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 13
(4,442 Views)

That sounds logical, but isn't the case.  The file icon with the padlock is in my local directory not in the source safe area.  Furthermore not all of the files have the padlock on them.  Also they aren't actually locked.  I'm not sure why they have the padlock because it doesn't seem to make them act any different than non-padlocked items.  A co-worker has seen the same thing and he thinks it is related to the file having some kind of problem or error when it compiles but so far I haven't noticed any issues like that.  I was hoping someone else had seen it too and knew for sure what it was.

0 Kudos
Message 5 of 13
(4,426 Views)

Tools>>Options>>Enviroment.  Check the box for "Treat read only files as Locked" 


"Should be" isn't "Is" -Jay
Message 6 of 13
(4,405 Views)

No, that isn't checked. Only the 'Enable automatic saving for recovery' option is checked in the Saving VIs section

0 Kudos
Message 7 of 13
(4,399 Views)

@TheMarko wrote:

No, that isn't checked. Only the 'Enable automatic saving for recovery' option is checked in the Saving VIs section


You WANT to check that box if you use source control. (Trust me - your really want to check the box Smiley Wink)


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 13
(4,392 Views)

Lol OK, thanks for that tip.  Toggling that option didn't seem to have any affect on the icon though.  From what I've experienced the strange icon hasn't affected anything [yet].  I am just trying to figure out where it came from and what it is going to eventually affect because I'm sure its there for some reason.

0 Kudos
Message 9 of 13
(4,378 Views)

@JÞB wrote:

Tools>>Options>>Enviroment.  Check the box for "Treat read only files as Locked" 


I interpreted that as "Observe the state of the checkbox," rather than "Make sure the box has a check mark."  Maybe the OP read it the same way.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 10 of 13
(4,375 Views)