LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

best way to control a large num of controls and indicators

Solved!
Go to solution
  1. If you are new maybe you should start with some learning the basics (state machines, shift registers, Event structures, etc.), and not trying to make a full functional feature-full application first ( https://decibel.ni.com/content/docs/DOC-40451 under "Looking for free training")
  2. Cluster with Event: http://forums.ni.com/t5/LabVIEW/How-do-I-determine-which-control-in-a-cluster-fired-the-lt-All/m-p/2... Similar: http://forums.ni.com/t5/LabVIEW/get-cluster-element-when-changed/td-p/2907870
  3. Some more discussions about clusters and state machines: http://forums.ni.com/t5/LabVIEW/Clusters-in-state-machine/td-p/1330032

In this last link, It is explained just almost the same way as I adviced you in my previous link, you can use a typedef cluster in a shift register your your state machine: http://forums.ni.com/t5/LabVIEW/Clusters-in-state-machine/m-p/1330044/highlight/true#M541821

 

Edit2: an example of a simple single loop state machine with Events: http://forums.ni.com/t5/LabVIEW/Clusters-in-state-machine/m-p/1330060/highlight/true#M541822

Message 11 of 12
(940 Views)
Solution
Accepted by topic author afetsis

Well, you could look at my earlier post to this question.  This is a Cluster of 5 Arrays.  The first is an Array of 16 Booleans (representing the bits of a 16-bit DIO Register).  It has a Label of "Lasers", not visible, and a visible Caption of "1 2 3 4 5 6 7 8 9 F   O I P H" to label some of the individual bits (Laser 1-9, Fixation, Outer, Inner, and Head).  The point is, with a Cluster you can group and design (and Label) the individual Boolean Digits (a.k.a. "Bits") and keep them grouped and yet still individually accessible.

 

Bob Schor

Message 12 of 12
(928 Views)