LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot change vi back to edit mode.

Hello,

 

I saved a vi so that when it was opened it would come up in run mode using "vi properties", "protection", "locked" but when I open the vi it will not let change it back to edit mode (ctrl-m is grayed out).  Any assistance would be appreciated.  THANKYOU!

 

Alma

0 Kudos
Message 1 of 17
(9,490 Views)

Can you change it from the properties dialog?

Can you attach the VI?

0 Kudos
Message 2 of 17
(9,488 Views)

No.  It's grayed out there also.

0 Kudos
Message 3 of 17
(9,483 Views)

Sorry not sure how to attach the file.  Using LabVIEW 2009 and it has several sub vi's.

0 Kudos
Message 4 of 17
(9,476 Views)

Is the file marked read-only in windows?  (Right-click, "Properties" in explorer)

Message 5 of 17
(9,468 Views)

You have to go back to VI Properties and unprotect the VI.

aputman
0 Kudos
Message 6 of 17
(9,465 Views)

@momof4 wrote:

Sorry not sure how to attach the file.  Using LabVIEW 2009 and it has several sub vi's.


We don't care about the subVIs. Just attach the one giving you problems. There is a button to attach files below the field where you compose a reply.

0 Kudos
Message 7 of 17
(9,455 Views)

@SnowMule wrote:

Is the file marked read-only in windows?  (Right-click, "Properties" in explorer)


Of course it is, Mike!  and in "Tools>>Options Enviorment ---Saving VIs "Treat Read-only vis as locked" is set (Although just these two things as non-default would not grey out CTRL-M--- a prompt would appear)

SO some source code control settings are also in play here

 

Try "Tools>>Options  Source Control--- General  "Display Source Control Operations dialog box...."

 

OR inspect LabVIEW.ini for the key "CustomShortcuts=" and delete the ";<Whatever>,Ctrl+m" entery (Someone repurposed the shortcut?)


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 17
(9,445 Views)

If the VI is still running....Ctrl-M will be greyed out.

aputman
Message 9 of 17
(9,426 Views)

Is your VI possibly set to Run When Opened?  You can get around that by dropping the vi onto the block diagram of a new empty VI the double-clicking to open it.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 10 of 17
(9,417 Views)