10-16-2015 08:45 AM
I'm fairly new to LabView and would like a recommendation as to which design template I should start with for my project. So far I think the best choices are either Producer/Consumer with Events, or Simple State Machine. Any input from you guys will be appreciated. Here is an overview of my project:
10-16-2015 03:36 PM
Think about how you want to organize those 70+ instruments. If everything was the same thing, I'd say make an array, use DAQmx (or equivalent) to get an array of Task Refs, and at Execution Time, wire the Ref to the appropriate Read or Write function. This works best, of course, when there is a "predictable" sequence ("Test each Switch in order" = For loop). If each instrument is a little idiosyncratic, it can become a little more complicated, of course. But you probably do not want 70 different wires floating around your Block Diagram.
When someone says "It will be largely a linear state machine", I think of the State Machine template. However, I do have a fondness for the Queued Message Handler ...
See previous concept.
Without knowing (a lot) more about your needs, these ideas seem to "suggest themselves" to me.
Bob Schor