LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Delete (defunct?) State Machine Toolkit primitive: Convert to Enum. Please help

So I have a very odd problem.  I inhereted some code which used the State Machine Toolkit (which I don't have) but the VI opens *and runs* just fine in LV 2010SP1 and LV 2011.  Unforutnately, I'm getting super odd behavior in that I can't delete some never seen before primitive that converts Numerics to Enums.  From a bit of searching, it appears this primitive was actually a VI called ";DNI_IntToEnum.vi".  Not only can I not delete this primitive, but I cant delete any wires connected to it or any other object that is contained within the while loop that its in.  Furthermore, I can't copy any object that is in the same loop in which it is contained.  If i try to copy and paste the while loop to a new blank VI, all that appears are the controls and indicators that were used in that loop.

 

I also cant seem to find said 'State Machine Toolkit' on NI's website, so I'm not sure how I'm supposed to fix this.  Is my only option to re-code these VI's from scratch?!?


0 Kudos
Message 1 of 3
(2,329 Views)

@SiegeX wrote:

Not only can I not delete this primitive, but I cant delete any wires connected to it or any other object that is contained within the while loop that its in.  Furthermore, I can't copy any object that is in the same loop in which it is contained.  If i try to copy and paste the while loop to a new blank VI, all that appears are the controls and indicators that were used in that loop.


Right click on the outer while loop, and select "Unlock StateChart" to be able to do what you intend to. Any changes could easily break your code which is made from statechart module.

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 2 of 3
(2,317 Views)

The State Diagram Toolkit is no longer supported by NI but it still runs even with the newest version of LV (currently 2011 SP1). First you had to purchase it separately. Then it became part of the LV installer. Some years ago, with the arrival of the NI LabVIEW Statechart Module, this very useful toolkit was abandonded. Unfortunately the Statechart Module isn't a direct replacement and we now use the JKI State Machine.

 

Contact NI and ask them to send you the installer of this now unsupported State Diagram Toolkit. If you can't get it, send me a private message.

0 Kudos
Message 3 of 3
(2,311 Views)