10-22-2013 02:55 PM
We use SVN for source control of our Labview code. I recently created a VI that goes through our entire labview project and selects the "separate compiled code from source" option on every VI. I thought this would prevent unnecessary requests to save VI's that have been affected by a change to a subvi. However, it has not had any effect. If anything, I believe it's worst. Has anyone else had this experience?
10-22-2013 03:14 PM
I also changed our repositories to not include compiled code. Now when we change a type def control we no longer have to resave all the VIs it references. This is good for source code control because obviously only the files changed get pushed. Are you saying after making the change to have all VIs seperate compiled code, that the behavior is not the same as I described?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-22-2013 03:25 PM
Yes I am. I've selected the check box on each VI to seperate compiled code, and it still asks to save many, many unnecessary files. In fact, I think it's worst.
This is LV 2012, sp1 f5, by the way.
10-22-2013 03:26 PM
Is it necessary to do a mass compile after the switch? I wouldn't think so, since flipping the switch required me to save each VI at that time.
10-22-2013 03:29 PM
It's been a while but I believe this was the tool I used:
https://decibel.ni.com/content/docs/DOC-20926
And afterwords I didn't have to mass compile. I assume because like you said the save will force a recompile anyway.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-22-2013 03:48 PM
Thanks, I haven't seen that tool. I made my own. How I got them all converted is probably irrelavent, right? If I go through all my VI's, they all now have the check box enabled. The problem is it isn't acting as advertised after that change was made.
10-22-2013 03:49 PM
Yeah the method likely doesn't matter, not sure why it isn't working right.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-22-2013 03:58 PM
In looking further, many of the VI's it wants to save all use the same enum. I have recently made a change to that enum. I thought this would prevent the save request when something like that happens. Am I not right?
10-22-2013 05:07 PM
Is the enum (*.ctl) file also set to separate compiled code? Just wondering....
10-23-2013 07:04 AM
Yes, the enum is a type def with the "seperate code" option selected.