Jump to content

To remove compiled code or not, that is the question.

Recommended Posts

  • 1 year later...


I'm trying to improve a quickdrop plugin that removes compiled code for my project. I noticed that it doesn't check the box in the project properties but I can't figure out how to do that. I tried reading the "NI.LV.All.SourceOnly" property via the project invoke node "Get Item" but I'm not getting anything back. Is it possible? I can't text edit the project file, because it's currently open.


Link to post
Share on other sites

After I started using this separate source code feature repo commits are easier to do. I never had stability problems having this option enabled. It takes some time to load project on new machine or when LV cahe has to be cleaned. Recently I have started to pack basic modules into PPLs and they are good for compilation time reduction and when code is reused multiple times. Shame this new vim concept can not be used with PPLs, if I understand correctly they are something like generics in c#. It would be nice if we could make vim class where one or several fields can be adaptive to create for example ring buffer and pack this into reuse ppl at the end. Now I end up with 6 classes that do the same buffer operations depending only on datatypes.

Link to post
Share on other sites
On 1/31/2018 at 8:12 PM, ensegre said:

No idea about the above. If it marginally helps, I have this snippet which descends a directory tree and does all .vi, .ctl, .lvclass and .lvlib. The code is a basic elaboration of what proposed earlier in the thread.



That's very much what my plugin is doing as well. Now I just need to figure out how to handle .lvproj :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.