LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comments on vi

i have a lv project with a main vi.I copied it to my laptop,instead copying the whole project,i copied only the vi by mistake.i added all the comments for the code in the vi.now when i copy the commented vi back to the project folder,it is not happening.

 

please help me to fix this.

 

 

0 Kudos
Message 1 of 12
(3,709 Views)

Hi krupa,

 

what exactly is "not happening"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 12
(3,699 Views)

When i copy the main vi that has comments,to the lvproj folder,the old vi is not overwritten by the new one.

0 Kudos
Message 3 of 12
(3,689 Views)

Hi krupa,

 

why can't you overwrite the VI?

Don't you have access rights to that folder/file?

 

What happens when you close LabVIEW and restart it. After restart open the VI and/or the project…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 12
(3,673 Views)

use save as and then select duplicate hierarchy to new location

0 Kudos
Message 5 of 12
(3,668 Views)

When i close,reopen it(vi,lvproj)..it is opening.i do not see any error..its working fine..just the copying is not happening

0 Kudos
Message 6 of 12
(3,665 Views)

As i am copying from other location,the path seem to have changed.

how can i correct this??

Download All
0 Kudos
Message 7 of 12
(3,638 Views)

Hi krupa,

 

lesson learned: don't copy single VIs from a project from one computer to an other!

 

How to correct? Follow the advices in the dialog shown in your image…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 12
(3,603 Views)

@krupa wrote:

When i close,reopen it(vi,lvproj)..it is opening.i do not see any error..its working fine..just the copying is not happening


did you use  save as and then select duplicate hierarchy to new location?!
after that just close old vi and open from new location 

0 Kudos
Message 9 of 12
(3,592 Views)

Another mess that proper Source Code Control would have prevented.

 

It looks like you tried to open up the VI from another location.  Why were you unable to copy the file back overtop where you originally copied it from?  Sounds like a permissions issue.


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 10 of 12
(3,574 Views)