LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
SatishK

Check out library member VIs if they are checked into source control before executing the make "Apply Icon to VIs" action on a Library

Status: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.

Summary:

When you "Apply Icon to VIs" in a LabVIEW Library and the VIs are check into source control, then LabVIEW will display a dialog that each of the VIs that are not checked out of source control already exists and you do not have the permission to replace it when you attempt to save all the VIs in the library. LabVIEW can make this operation more user friendly if it checks out the VIs from source control before applying the icon to the VIs.

 

Details:

Use the attached zip file to reproduce the behavior. Here are the steps.

  1. Detach and unzip the attached Project.zip.
  2. Check in all of the files into source control.
  3. Open Project.lvproj in LabVIEW.
  4. Configure Source Control so that the Project and all of the files in it are bound to source control. Confirm that all the files in the project are NOT checked out.
  5. Right click on Project.lvproj>>My Computer>>Library.lvlib and select Properties.
  6. In the General Setting page, click on the "Apply Icon to VIs".
  7. Click OK to dismiss the dialog.
  8. Right click on Project.lvproj and select Save All (this project) or click on the Save All button on the toolbar.

If the current behavior exists, LabVIEW will display a dialog that states "Cannot save VI "Library.lvlib:VI.vi". The VI already exists and you do not have the permission to replace it." It would be more user friendly if LabVIEW offered to check out the vi from source control before it applied the icon to the VIs in the library.

1 Comment
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.