Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/25/2012 in all areas

  1. I have recently been looking at code that suffers from a lack of synonyms. Everything in the system has a system-to-component-to-element relationship. There are so many systems and components and elements running around, it is hard to figure out what's up. I've seen this many times in my career. You'll see this in LabVIEW if you look at the collision of naming conventions that happened with libraries and classes -- parent and child are used both for the inheritance relationship of the class and for the virtual folder membership of the project tree. Ug. It is one of our primary jobs as the authors of software to name things well. "Well" means distinctly, precisely, accurately, simply and unambiguously. Non-English speakers may have an excuse -- I do not know how plentiful synonyms are in the world's human languages. In English, we are blessed with a cornucopia of phrases, a symphony of words tuned to exactly the note we are seeking. In an effort to combat this in your code, I am offering up this list of synonyms. The next time you are creating an API with a relationship, please consider using the full richness of our language. Feel free to add more as they occur to you. For bonus points, post glyphs to go along with the pairs that can be used in VI icons. Several of these are already part of the NI glyph library in the Icon Editor. whole part wrapper core system component speaker listener master slave outer inner primary secondary facade structure server client framework plug-in source sink parent child manager delegate caller callee refer refee source destination source target original copy controller puppet interface implementation object aspect container content amalgam element genotype phenotype base derived director actor exterior interior recipe ingredient body organ super sub group member real proxy package piece aggregate fragment general specific construct foundation product factor view model shell kernel mask identity carapace meat leader follower application add-on face heart sum segment edge locus commander toady senior junior owner operator
    1 point
  2. If you do not need more than 100,000 S/s and you own DSC, then you could stream to NI's very own real-time historical DB. Too bad NI does not take Citadel out the DSC closet and make it available for general use.
    1 point
  3. Decided to Google IEC61850 and UDP. I found this interesting PowerPoint presentation in PDF form. http://www.pes-psrc....%2002282012.pdf I liked the next to the last slide best: The author indicates that dropped messages are statistically insignificant. They were never able to eliminate them completely. If you're just starting out with LabVIEW, this is going to take you some time, and I would wager that you will never achieve zero data loss using UDP.
    1 point
×
×
  • Create New...

Important Information

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