LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Could someone review the following VI and offer any feedback?

If there are any mishaps I missed I would be appreciated.
0 Kudos
Message 1 of 2
(2,507 Views)
Lobster,

Avoid the use of stacked sequence structures.
Avoid having wires running behind other objects.
Try to keep wires straight and with the flow from left to right.

How to do these things:
Use dataflow.
Use dataflow.
Use dataflow.

Change to a state machine architecture.

By using a state machine you would have one while loop and one case structure. Both sequence structures and the outer case structure would be eliminated. You might need to create some subVIs. For example the graph scaling stuff in the case structure in case 1 of the inner sequence structure might be a good candidate for becoming a subVI.

Lynn
0 Kudos
Message 2 of 2
(2,491 Views)