02-21-2014 12:25 PM
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
02-21-2014 12:28 PM - edited 02-21-2014 12:30 PM
02-21-2014 12:31 PM
No. It's grayed out there also.
02-21-2014 12:34 PM
Sorry not sure how to attach the file. Using LabVIEW 2009 and it has several sub vi's.
02-21-2014 12:45 PM
Is the file marked read-only in windows? (Right-click, "Properties" in explorer)
02-21-2014 12:46 PM
You have to go back to VI Properties and unprotect the VI.
02-21-2014 12:56 PM - edited 02-21-2014 12:59 PM
@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.
02-21-2014 01:05 PM
@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?)
02-21-2014 01:19 PM
If the VI is still running....Ctrl-M will be greyed out.
02-21-2014 01:25 PM
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.