LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine Demo



@labVexpert2b wrote:
I also figured out that I can use the Re-initialize to Default InvokeNode and confirm with data flow.
Hence, I don't need to use LocalVariable to set the Ring control to the default Value.

Is this an efficient or good practise?


I am pretty sure that the property node call is much less efficient. I would stay with the local varaible.

Here's another comment: In the "delete current state" case, you slice out column 0, then see if its size is zero. Instead, I would check if the 2D array is empty (there is a tool for that!), and only slize out the column if you need it.


 

Message Edited by altenbach on 08-16-2007 09:40 PM

0 Kudos
Message 21 of 21
(490 Views)