Jump to content

Darren

NI
  • Posts

    622
  • Joined

  • Last visited

  • Days Won

    66

Posts posted by Darren

  1. There have been a couple of patches released for LV 2023 Q3 that you can install from NIPM that fix (among other things) some App Builder issues. If y'all install those patches and still see issues, I know that LV 2024 Q1 is releasing shortly, which also includes some App Builder fixes. Additionally, if y'all are able to share code, feel free to PM me and I can get Bugs filed to R&D for build issues that we can reproduce in-house.

    • Like 1
  2. Again, it all comes down to what framework(s) "click" for you. I personally would develop the application entirely with DQMH, here's a very introductory article on how DQMH and HAL concepts work together.

    Other developers would have great success sticking purely to Actor Framework. Still others with JKI SMO. Learn about the different frameworks, see which one(s) align the best with your mental model, and go in that direction.

    But whatever you do, don't create a new framework. ;)

    P.S. - I wrote this article which might also be a good resource for you.

  3. It's because your indicator has the string as the last element in the cluster, not the first. If you change your Bundle function to have the string as the 3rd element wired in instead of the 1st, the wiring will work.

    I suggest you review the topic of Type Definitions in LabVIEW, where you can define a data type like a cluster in a single location, and use that type definition in all places in your code where you need that type. It helps you avoid situations like the one you describe.

    • Thanks 1
  4. This utility VI is helpful for filtering out only contained controls in a right-click Affected Items array.

    [LabVIEW 20xx]\resource\plugins\PopupMenus\support\Filter For Contained Controls Only.vi

    Many of the shipping right-click plugins use this VI for the exact purpose you describe... for example, check out the source code for the Change To Array Or Element plugin:

    [LabVIEW 20xx]\resource\plugins\PopupMenus\edit time panel and diagram\Change To Array Or Element.llb\Change To Array Or Element.vi

    • Like 2
  5. Can you use the private UnattendedMode property in your post-install VI? The searches would still take place, but at least you wouldn't have to see the dialogs?

    Could you replace the calls to possibly-missing VIs in your code with dynamic calls? This would work if there were only a few calls.

  6. For a regular library (.lvlib), opening a reference to it (via the 'Library.Open' method) will not bring member VIs into memory.

    For a class (.lvclass), opening a reference to it (via the Library.Open method) will bring all member VIs into memory. There's no way around this behavior that I know of.

    • Like 1
    • Thanks 1
×
×
  • Create New...

Important Information

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