Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/21/2011 in all areas

  1. Hello,The recent posts about "Message Routing" has inspired me to mention a variation on this idea. In particular, I am thinking of Daklu's description of his "Slave Loops" that only communicate with their masters (requiring the master to "mediate" communication between slaves), and Mark Balla's Message Routing Architecture. I have been working on my own LVOOP Messaging system, one in which there aren't specified "output" channels; instead, each message can contain the method to rely or respond to it. Sort of a self-addressed, stamped envelope. This allows one to build a "hierarchical tree of master/slave loops" as Daklu suggests, but with the ability to direct messages to thier final recipient without mediation. A simple example: In this example, the Controller (master) sends a message to Process A (label="SendTimeString") with the attached reply address (command queue) of Process B, along with an alternate label, "CurrentTime", to be used for the reply message. Thus, Process A directly sends a message to Process B, with no mediating or routing processes in between, yet without either process knowing anything at all about each other (they don'y even use the same message labels). The Controller sets up the communication link between A and B, but doesn't itself need to handle the message. One can extend this into an "Observer pattern", where the Controller registers Process B as an observer of Process A's regularly occurring "TimeString" events, (complete with message relabeling to "CurrentTime"), again with neither A nor B having to know anything about each other. -- James
    1 point
  2. I've had a few evenings to work on another XNode, this time to unbundle an array of elements from a Cluster Array (as per this Idea). As much as possible, I've tried to mimic the functionality of Unbundle Cluster by Name. There were a few tricky things to get this to work, and I'd be interested if I missed an easy way to achieve any of them: traversing a cluster hierarchy to build the pop-up menu not permitting the XNode to be shrunk past any connected wires correctly wiring outputs again if the XNode is extended upwards Comments welcome! Requires: LabVIEW >8.6.1 Gavin Burnell's Scripting Tools (thanks again!) OpenG LabVIEW Data and String Libraries Unbundle Cluster Array.zip
    1 point
  3. Hi, I was trying to track down a strange error in a library function and got the following: For debugging I had to disable VI inlining and the error changed in something more meaningful: Basically the problem was a parse error resulting in a wrong variant to data conversion (path to i16). I wonder who is "Akash B" and "Stephen M". About the latter I have a guess .
    1 point
  4. So, I'm on round two of back surgery recovery, which leaves me a lot of time to think beyond what meeting is coming up next... I'd like to be a better LabVIEW programmer (yes, even after 10 years!). One of the things that, I believe, makes for a better programmer is working with those who are better than you. Honestly, most of the people I've worked with really, ah, don't care that much... or, often, there isn't even another LabVIEW programmer for me to work with. In my experience, this is the rule for almost everyone. Over the years, this situation has left me doing a lot of research and testing, but without feedback, I often end up with the feeling of just "making things up". And so, when I run across a job listing like this totally awesome gem, I'm left wondering... am I even remotely qualified for that? I'm curious... what have other people done to become better top-end LV programmers, and to work with the best in the industry? Joined one of the top consulting firms? Joined NI? Started their own business? Anything else? Thanks, Joe Z.
    1 point
×
×
  • Create New...

Important Information

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