Jump to content
News about the LabVIEW Wiki! Read more... ×

Leaderboard


Popular Content

Showing content with the highest reputation on 12/04/2018 in all areas

  1. 2 points
  2. 2 points
    Maybe it's a new version of the Marshmallow test.
  3. 1 point

    Version 1.0.0

    65 downloads

    There it is. The complete library for the MCP2221A. I2c adapter, I/O in a single IC. I love that one. Let me know if any bug is found. I try to make that library as much convenient as possible to use. Two version available 32 bit and 64 bit. little note: to open by serial number, the enumeration need to be activated on the device first. (open by index, enable the enumeration) It needs to be done only once in the life time of the device. PLEASE do not take ownership of this work since it is not yours. You have it for free, but the credit is still mine... I spent many hours of my life to make it works.
  4. 1 point
    Hey LAVA worshipers! Just wanted to update y'all on recent changes to the site. LAVA and the WIKI are now running on a dedicated server. You will notice that the site runs faster because of this. Also because of the transfer, we got more disk space which will help if we want to host a repo in the future. Anyway, just wanted to keep you in the loop so you know that there's work happening behind the scenes to keep the LAVA site running smoothly and with the latest features. Some of the funds for this comes from the site ads and some comes from the yearly LAVA BBQ. So thank you all for your contributions and support.
  5. 1 point
    Proud to say that lavag.org and labviewwiki.org both get an A rating from an SSL labs security check. Even better than ni.com which is getting a B rating. 😎
  6. 1 point
    Two ways to do what the OP is asking. 1. VI Server world: Children have a static link to their parents and Parents have a dynamic link to their children. This means that once a class is loaded into memory, the parent knows about the child. According to the documentation this will NOT work in the runtime environment, but i've used this several times when making IDE Tools. 2. Runtime Reflection: The following code will also give you an array of all of the children loaded in memory, but this time it uses less VI Server so it will work in the runtime environment. I use this when using a plugin architecture. I've not done a lot of performance testing with it, but on a medium-ish size project (one with ~150 classes) it only takes about 50 ms to run, so it's worked well for me so far. Having given you those solutions, I still think your best bet is to use a statically defined array. This will ensure things are loaded into memory when their needed and such. My solutions really only become worth it once you're dynamically loading classes.


×

Important Information

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