05-06-2008 03:33 PM
05-06-2008 03:46 PM
05-06-2008 03:46 PM - edited 05-06-2008 03:47 PM
05-06-2008 03:48 PM - edited 05-06-2008 03:49 PM
05-06-2008 04:01 PM - edited 05-06-2008 04:09 PM
05-06-2008 06:48 PM
05-06-2008 08:06 PM
krispiekream wrote:
right now, my code have too many local variables/sequences, what can i do to clean them up?
05-06-2008 08:25 PM
I totally agree with Altenbach.
Delete ALL locals. My LabVIEW world is one without Local Variables and void of Stacked Sequence Structures.
Experiment with the Event Structure. It is actually easier to use than it first seems.
RayR
05-06-2008 08:36 PM - edited 05-06-2008 08:42 PM
05-06-2008 08:48 PM
I don't have Labview installed on this PC, so I can't look at your code.
Why do you not set the case to add 2 instead of 1 if you select that button? So instead of incrementing by 1, increment by 2. If the increment value can be set by a control, then read the increment value from the control.
Maybe I need to look at the code to understand your constraint.