Jump to content

JeffP

NI
  • Posts

    23
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by JeffP

  1. 15 hours ago, X___ said:

    Am I reading this right?

    Can you elaborate on your concern?

    Generally speaking - directly sharing source across multiple projects can easily lead to making changes in one project which unintentionally breaks another project. The recommendation is that if you have a piece of code that you want to reuse in multiple projects (maybe its a framework or a library) you should separate that code into its own module. The projects would then depend on the built component - a gll for example, so this enables you to maintain versioning and avoid the case I described. Alternatively you could distribute the shared component as an addon, but you would not be able to directly edit the shared dependency from the project which is dependent on it.

    You are still able to directly share GVIs between different projects, we just don't recommend that you do it.

  2. 21 hours ago, drjdpowell said:

    I think you need to give the User a choice at step 2 of what to do with the loose files.  In my case they are just deprecated VIs that never got deleted (deleting files in Current Gen is very inconvenient).  Step 3 need a choice too, as adding the shared files to one of the projects will usually be the right choice.

    I agree with both your points. For your first point - we debated about how much customization should be available in the conversion wizard. We want to make you aware of any issues that you should fix up before conversion, but we didn't want to duplicate IDE functionality. For example - refactoring your architecture is easier with all the tools in the editor, so we wanted to get you through the conversion wizard quickly so you could use those tools instead of duplicating them in the wizard. This breaks down a bit in the case where we generate multiple projects.

    Customization like you are describing - being able to choose specific files not to convert or which project should own a shared dependency - are improvements we liked but weren't sure how much they would be used. It is certainly something we can come back and improve later, it just hasn't been a priority yet.

  3. I may be incorrect in my assumptions here - but when you converted the single project how did you specify which files to convert in the conversion utility? The logic for creating multiple NXG projects works something like this:

    1. If you just selected a lvproj file its easy, we load the project, all files in it, and their dependencies. Then we determine which files will be converted and put them all in the same NXG project.
    2. Similarly, if you just select VIs, we load the VIs and their their dependencies, determine which files will be converted, and put them all in the same NXG project.
    3. Things get more complicated if you select some combination of VIs and a lvproj, or multiple lvproj files (or a folder with some combination). 
      1. We load everything and find all dependencies. 
      2. We create a NXG project for each lvproj file. If there are additional files which are not part of any of the lvproj files we create an additional LooseFiles project for those files.
      3. If files are shared between multiple projects, we create a Shared folder next to the projects which contains the shared files. This is because we can't preserve your file disk heirarchy - NXG requires the project and disk hierarchy match, so the only alternative would be to choose one of the projects to be the 'owner' and that didn't seem correct. Unfortunately that leads to these shared files showing up under the 'Links' section of each project.

    In an ideal case these shared dependencies would be converted into a component in their own project and built into a gll that is shared between the projects, or some similar process. Directly sharing source VIs on disk between projects is not the recommended way of sharing code in NXG.

    In your case - I have seen this happen in the past where a folder containing a project is converted and some files are not detected to be part of that project so they are put in another project. Autopopulating folders can also make this worse in some cases. 

    In general this is a part of the conversion utility that I would like to simplify because it can be really confusing, it is just not a top priority at the moment.

  4. 7 hours ago, drjdpowell said:

    So where is a good forum for discussing NXG?  Here on LAVA?  I'm not one who likes short 1 on 1 private talks nor am I in to "workflows".  But I could make lots of feedback on NXG if I have time to craft posts. 

    Let me get back to you on this - we are internally discussing some options for improving this - as you noted the activity on the existing beta forum is pretty limited. We want a forum that everyone has access to where we can have collaborative discussions on NXG. The specifics are still being hashed out but I will update when I have more information. 

    Regarding your question about Links - LogMAN's explanation is correct - files under Links are non-addon dependencies located outside your project folder on disk, for example if you use a subVI that is saved elsewhere. This should be uncommon for projects developed from scratch in NXG - it is more common in converted projects - especially if you convert multiple projects with shared dependencies at the same time. It is an aspect of the conversion process that we are looking to improve - at this time I would not recommend converting multiple projects with shared dependencies at the same time - it works but may lead to confusing results. 

  5. LabVIEW 2013 SP1 was released March 3rd (Monday), it will be going out through Update Service on March 10th which is why there is the confusion about the release date on the download page (the download page is wrong).

     

    Thanks

  6. I looked up your crash report and it seems to be crashing in agtrmsimulate.dll, which looks like a 3rd party driver dll. Hopefully that helps you narrow it down. I would double check how you are calling the driver.

    • Like 1
  7. Hello all,

     

    I just wanted to let you know that we are aware of the issue described in the first post (the problem with builder an installer with certain VIs). In this case it is a VI from the automotive diagnostic command set library (CAR 429636). This is caused by a change in LabVIEW 2013 to the installer builder. There are two parts to this issue - 

     

    1) If your project contains VIs in certain libraries, you are not able to build an installer that contains these VIs. There is no workaround for this and we intend to issue a LabVIEW 2013 f2 patch which will address this. (CAR 429282)

     

    2) If your project contains VIs in certain libraries, you are not able to build a source distribution of those VIs. This is related to 1) but there is a workaround for this. If you go into your build specification Additional Exclusions and check the box for Remove unused members of project libraries you will be able to build fine. This issue will not be addressed by the patch.

     

    I find that the appbuilderlogging INI token is extremely helpful for debugging build problems, the additional exclusions are often another good place to look at if you are running into strange build errors.

     

    Thanks

  8. I am really liking the new labels with arrows but I think I may have found a bug.  It seems that it is able to point to the diagram element correctly with primitives but if you have an object with a long label showing, it calculates the center of the item using the label and resulting in an arrow pointing in midair.

    attachicon.giflabel arrows.png

    Not sure if this applies to other diagram items as I have only tried it with a few.

    Hi John,

     

    I was only able to reproduce this with objects, but I filed CAR 422905 on it.

     

    Thanks

  9. If your RTE is hosed, you can try doing a repair install of just the RTE as a first step (I know you already reimaged, but this is for future reference). Were you installing fresh or did you have the RTE already installed on the system?

     

    As Michael said, both JKI and NI try to be as helpful as possible with troubleshooting and problem resolution!

  10. I rescind my previous statement. It seems the SP1 download does not include the f1 fix (although it says it does in the Update application).

     

    SP1 version from Update: 12.0.1

    SP1 verfion after F1 patch: 12.0.1F1

    No crash for me installing the F1 patch though.

    Hello everyone,

     

    In general if you are installing a LabVIEW service pack through Update Service and there are existing f patches for that service pack, they will be automatically installed with the service pack. In this case the f1 patch was not installed because it has been taken down temporarily.

×
×
  • Create New...

Important Information

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