Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/06/2015 in all areas

  1. Create the background image you require (with pattern) and write it to Plot Image.Back (or middle, depending on the effects you require. Then set the graph to fill to infinity with a white fill colour (or whatever colour your non-filled space should be).
    3 points
  2. 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.
    1 point
×
×
  • Create New...

Important Information

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