Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/06/2016 in all areas

  1. Action Engines are still a tool that get dusted off and used. I have several communication plugins (packed libraries) where I needed to put in debug screens which wound up being a simple AE. I could have used a different method of showing the debug information, but it made sense to use an AE.
    1 point
  2. "This contract engineer discovered the secret to LabVIEW programming, and NI is furious."
    1 point
  3. Action Engines are singletons and class clusters are an instance scoped variable, not global. So. If you want an exact equivalent then you have to jump through hoops like using a queue or a FGV (just like an AE-DOH!). The migration means you get new VI methods for each ENUM entry (I've talked before about code bloat) and forcing the user to drop a load of different VIs from a palette or quickdrop. You don't get a lot else apart from increased complexity and the ability to wave the "I'm using OOP" banner. Personally. I would prefer a polymorphic VI over a class because you still have the code bloat but don't burden the user..It looks like you have just swapped the enum for a drop-down menu and you get the adapt to type for the different inputs. If you want it as a class because.......reasons. Just wrap the action engine in some class methods (one for each enum). That's pretty much what you will end up doing if you don't use a queue and you can still wave the banner However. if you promise and "cross your heart and hope to die" that you will only have one instance then a normal class (with a DVR?) will suffice .
    1 point
  4. I think that would be "You won't believe these 10 things that happen when you install labview 2016"
    1 point
  5. The fact that it made me click on this thread link makes me think of Facebook "click-bait" postings. "She sticks a butter knife in an electrical outlet. The result? I'm SO doing this!"
    1 point
×
×
  • Create New...

Important Information

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