JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

A question regarding "Rename" how to move VI to a different folder

#1
User is offline   Shaun 

  • Group: Members
  • Posts: 1
  • Joined: 30-March 09
Hi,

Whilst looking into the new TSVN tool today I came across a use for the "Rename" function - I was thinking that this would be a great way to get LabVIEW and SVN to play nicely in a way that is not normally possible. What I wanted to do was move a VI from /Project/FolderA/File1.vi to /Project/FolderB/File1.vi. However, the rename dialog did not seem to give me any way to adjust the folder of the VI, only the name itself. Am I missing something and if not, would you consider adding this in future releases?

Thanks,
Shaun
0 kudos

#2
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View PostShaun, on Jul 7 2009, 10:43 AM, said:

Hi,

Whilst looking into the new TSVN tool today I came across a use for the "Rename" function - I was thinking that this would be a great way to get LabVIEW and SVN to play nicely in a way that is not normally possible. What I wanted to do was move a VI from /Project/FolderA/File1.vi to /Project/FolderB/File1.vi. However, the rename dialog did not seem to give me any way to adjust the folder of the VI, only the name itself. Am I missing something and if not, would you consider adding this in future releases?

Thanks,
Shaun


Hi Shaun,

I'm pretty sure that you can move a file in the TSVN rename dialog. For example, to move /Project/FolderA/File1.vi to /Project/FolderB/File1.vi, simply enter ../FolderB/File1.vi as the new name. Now, I'm not sure, off-hand, whether the JKI TSVN Tool will handle this gracefully -- I'm about 75% confident. Please try and let me know :D

Thanks,

-Jim
0 kudos

#3
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06
Hi Shaun,

I just did a quick test and it's not working the way that I thought it might. TSVN moves/renames the file to the new directory, but LabVIEW doesn't know that the file has moved to a new location. In this case, after you rename the file with TSVN, you should do a Save As in LabVIEW an select the new location in the file dialog.

Thanks,

-Jim
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic